cart: empty [ Login ]

Revolve 2d wire frame to 3d solid

1 
Sateetje
11/4/2008 1:16 PM

Is it possible to revolve a 2d wire frame to a 3d solid. Draw a 2d model (dxf?) and make an 3d model because the use of revolving. HyperMill does this great trick to make a 3d design of a mill or holder.

Wout
11/4/2008 1:27 PM

Hi, At the moment CadLib doesn't have this ability. You'd have to e.g. generate a polyface/polygon mesh manually. Wout

Sateetje
11/4/2008 3:31 PM

Thanks for your quick reply. Do you know where I could fuind information about revolving? I don't know much about the 3D world in Visual Studio :(

Wout
11/4/2008 4:08 PM

Hi, You can try this approach: - First pick a number of samples with which you will approximate the circle, let's say n. - Suppose you have a number of points with (x, y) coordinates, and you are revolving around the x-axis (or y-axis), then for each point you will approximate a circle with the x-axis as center, so the x-coordinate will remain fixed, and you'll calculate a 2D circle with (y, z) coordinates. You can do this by using (cos(angle) * y, sin(angle) * y), where you'll be sampling a number of angles around the circle. - Now having all the 3D points, you can either create a DxfPolygonMesh, or e.g. a DxfPolyfaceMesh. Let me know if this gets you going! Wout

Sateetje
11/4/2008 4:35 PM

Is het mogelijk om verder in Nederlands te communiceren?

Wout
11/4/2008 4:38 PM

Hi, You can e-mail me in Dutch, on the forum English is more appropriate so people outside the Netherlands can benefit from this information! Thanks, Wout

1