Which command to flatten object to Cplane?


#1

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 !

Object is 3D surface.

Steve


(Pascal Golay) #2

Hi Steve - ProjectToCPlane should do it.

-Pascal


(David Cockey) #3

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.


#4

Hi
Pascal,…I tried ProjectToCplane and the object still remained ‘thick’.

Can one flatten it ?

Hi David, may run with just the outline if so, thanks, that’ll give me something.

Steve


(David Cockey) #5

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.


(Pascal Golay) #6

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…

Still looking at this…

-Pascal


(David Cockey) #7

Not always true. See the attached file with an ellipsoid projected using ProjectToCPlane. A folded surface was created.EllipsoidPTCP.3dm (62.7 KB)


(David Cockey) #8

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)


#9

Hi,
by thick, I simple meant it still had 3D shape, hadnt become zero/atom/pixel thickness !

I have just drawn as a test a sphere, given it projectToCplane, and its still spherical.

doesnt get flattened.

Silhouette solves the task I needed this for. Still wonder though how any object can be ‘flattened’.

Steve


(David Cockey) #10

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)


#11

Hi,
attached the object, will it flatten ?

seen in FRONT view, I need to flatten it against the ‘back wall’ so to speak !

I need it a thin line in TOP view !

and how is it done ?

flatten test.3dm (620.5 KB)

Steve


(David Cockey) #12

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)


#13

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 ???

Steve


(David Cockey) #14

The perimeter curves were in the file you uploaded. I selected the curves and the polysurface. The curves flattened; the polysurface did not flatten.


#15

Hi,
I see,…ok… I used your silhouette method to do so.

So that just leaves us with… how can one flatten the object itself along with surface ?

Steve


(David Cockey) #16

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.


#17

Plan was I was needing a quick 2D view of the object with surfaces still there., I didnt want to be trying to resurface it.

Steve