logo
NOTICE:  This is the new PunchCAD forum. You should have received an email with your new password around August 27, 2014. If you did not, or would like it reset, simply use the Lost Password feature, and enter Answer as the security answer.
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
mikeschn  
#1 Posted : Thursday, January 27, 2011 11:29:25 AM(UTC)
mikeschn

Rank: Senior Member

Joined: 8/21/2007(UTC)
Posts: 284

Thanks: 5 times
Was thanked: 2 time(s) in 2 post(s)
If I import a VRML file (.wrl) is there a way to extract edges from it?

Lets say I were to import a cylinder. I'd like to put in a centerline from the center of one circle to the center of the other circle. Is there a way?

Any suggestions?
ViaCAD Pro 12 on Windows; Viacad Pro 14 on Mac
zumer  
#2 Posted : Thursday, January 27, 2011 4:42:44 PM(UTC)
zumer

Rank: Senior Member

Joined: 11/4/2007(UTC)
Posts: 515

Was thanked: 1 time(s) in 1 post(s)
For an end of the cylinder's axis, using a three point circle off either the appropriate midpoints of the edges of the facets that represent the cylinder walls, or the vertices of those facets. Not an infallible method, because it'll be off if you pick a mixture of both for the same circle, or if the surrounding end faces aren't normal to the axis. The edges should describe a regular polygon, but that's not guaranteed either.

*forgot to mention that you've got two diameters that way, too. The midpoints of the facet edges are more likely to produce the right diameter, but that's not a given, either....
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.