Hi,
V5
Front view , I wish to flatten the object I am viewing in FRONT view to the Cplane behind it .
I expect to see a thin yellow line, a planar item only visible in front view.
FlattenSrf when viewed in top view doesnt give me a thin yellow line, but a shape.
Smash, squish, steamroller, whatever it might be called !
Steve, if you only want the projected silhouette if the object, use Silhouette and then ProjectToCPlane to project the resulting curve(s) to the CPlane.
What do you mean by “thick”? The result of ProjectToCPlane should be a zero thickness curve/surface/polysurface… However depending on the shape of the original object the curve/surface/polysurface may fold back on itself.
If you project the silhouette you can create a flat surface using PlanarSrf with the projected silhouette. You may need to join the parts of the projected silhouette first.
Hi David, Steve - Rhino will try not to project objects that will create degenerate surfaces - like a box being crunched so its sides become lines. I must say it does some unexpected things to skewed boxes though…
Looks like ProjectToCPlane won’t project an object containing a surface which is normal to the CPlane. The attached file has two boxes added. One with surfaces normal to the CPlane and it won’t project. The second box was rotated so no surfaces are normal to the CPlane and it does project as a folded polysurface. EllipsoidPTCP2.3dm (96.9 KB)
I just tried a sphere. ProjectToCPlane does not work if the seam is perpendicular to the CPlane. “Unable to project 1 object” appears on the command line.
If the sphere is rotated so the seam is not perpendicular to the CPlane then ProjectToCPlane works. EllipsoidPTCP3.3dm (127.8 KB)
ProjectToCPlane won’t flatten the polysurface in the Front view, but does flatten the perimeter curve which was also in the file. flatten test DC.3dm (708.0 KB)
Hi,
V5,
I select the object, run the ProjectToCPlane command in front view and it says unable to project one object.
How did you get the perimeter to do so, or was that silhouette in use ?
Like to know though if the object can be flattened or if not why not. Pascal ???
What do you want to achieve by “flattening” the surface?
For single surfaces you can also use SetPt. To flatten on the XZ plane start SetPt, select the object, check only the “Set Y” box, and enter 0 as the value to set to.
So is this a bug? With V6, when I use ProjectToCPlane, I get the message ‘Unable to project 1 object’. I’d expect it to work as David has described Silhouette followed by ProjectToCPlane works. If it doesn’t work this way, shouldn’t it?
Isn’t projecting a 2D silhouette of an object on a CPlane the intended use? If not, what is?
Hi Mitch - the goal of ProjectToCPlane is to flatten the actual geometry to the plane. This is not the same as flattening the peerimeter curve. Some geometry cannot be flattened - that is what you are running into, I imagine.