More precise curves

About advanced scenes, and the Thyme scripting language used in Algodoo.

More precise curves

Postby zamadatix » Mon Oct 05, 2009 2:14 am

I have put in sim.polygonmeshsize = [512,512] and sim.hqpolygons = true but i would still like more vertices in some of my polygons (yes im that picky ;)) is there any way i can?
zamadatix
 
Posts: 2
Joined: Mon Oct 05, 2009 2:09 am

Re: More precise curves

Postby Conundrumer » Mon Oct 05, 2009 3:51 am

The way I do it, I make the polygon into a series of smaller polygons on the perimeter all glued together.
User avatar
Conundrumer
 
Posts: 344
Joined: Mon Aug 31, 2009 5:55 pm
Location: NYC

Re: More precise curves

Postby gradyfitz » Mon Oct 05, 2009 8:46 am

zamadatix wrote:I have put in sim.polygonmeshsize = [512,512] and sim.hqpolygons = true but i would still like more vertices in some of my polygons (yes im that picky ;)) is there any way i can?

Try
Code: Select all
App.forceVertexPolygonDrawing = true;
I haven't noticed any situations where it's not precise enough :D . I hope it works for you, the biggest problem is that hinges and fixates do not follow this precision, but collisions do, this level of precision is near unachievable or unachievable using polygon mesh sizes & HQ polygons.
Mechanisms: 18 Mechanisms.
Thyme: Tutorial - Variables/Commands List.
Thymechanic
gradyfitz
 
Posts: 174
Joined: Tue Sep 01, 2009 8:33 am
Location: Victoria, Australia

Re: More precise curves

Postby zamadatix » Mon Oct 05, 2009 11:47 am

Thanks, Doesnt seem to increase anything when using the cut tool though :/. I suppose that I could make many small pieces but if anyone knows a less tedious way let me know :P.
zamadatix
 
Posts: 2
Joined: Mon Oct 05, 2009 2:09 am


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 8 guests

cron