Re: bug in vpython path library

Kadir Haldenbilen <khaldenbilen-/[email protected]> Tue, 17 Apr 2012 00:19:40 -0700 (PDT)
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
Although your mail indicates that there is an attachement, I can not see it.
Is it possible to resend, or include it in the mail body?

As Bruce said, you may have problems with sharp turns, but as you will see with the attached star example with a simple code:

se = extrusion(shape=shapes.rectangle(width=0.2, height=0.2),
               pos=paths.star(radius=3, n=9))


you do not get any abnormal extrusion. Do you have even larger sharp turns? How does your data compare with such star path data?
As you increase n>9, you will get even sharper turns. Even with n=21 I do not see any problems.

I notice you have x,y,z pairs in 3D. can you simply test it in 2D, i.e, z=0 for example?


Kadir


________________________________
 From: sufyan fehe <sisaala_20-/[email protected]>
To: "visualpython-users-5NWGOfrQmneRv+LV9MX5urNAH6kLmebB@public.gmane.org.net" <visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> 
Sent: Tuesday, April 17, 2012 5:12 AM
Subject: [Visualpython-users] bug in vpython path library
 






________________________________




 
I am using the extrusion
object library, path library of Vpyhon for my project. my program simply
extracts or parses G-codes with X,Y, Z coordinates, the program then uses this
extracted points as my path, a 2D square shape is then extruded through these points
or path in that sequence.
the problem is, these
points are line segments, where a line segment is define by two points i.e
X1,Y1,Z1 and X2,Y2,Z2. Now if the third point X3,Y3Z3 is sharp turn, i.e the
angle between the line segment becomes > 270, the extrusion generates very
long spikes or glitches which makes my work messy. my G-codes are all accurate,
because it is tested. this is a special case where the preceding point makes
that sharp turn. i showed it to some programmers and they say it might be a bug
with vpython extrusion library. i can share my program with you, or pictures of
what i mean. hope i get a response from you. thanks
1Attached file| 6KB
 


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users
starExtrusion.png (image/png, 13 KB) - not displayed