DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Trimming planes to their line of intersection

Started by samdavo, November 28, 2013, 04:34:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

ok lol - I have a couple of real simple questions (I think) on something different - and I'm sure it's possible by a better method. 

Suppose
a. I want to draw the line of intersection of the grey circular plane and the white circular plane. (including the exact length of that line of intersection), and
b. trim the circular planes to that line
(not necessarily in that order).

I should repeat that I'm new to 3D.
I couldn't find how to (automatically) draw the line, nor to trim the circular planes to their common edge.

I then tried to change each of the planes to a solid, and to do a Solid Segregate to permit me to remove the bits I didn't want.   But I couldn't change a plane to solid.

The only way I could do this was to extrude each of the circular planes by a small amount (the same amount, not that that matters).  THAT at least gave me two solids - and then
1. solid segregate
2. followed by explode solid , and delete unwanted planes...
-    gave me what I was after -  the line of intersection of the planes.   

(But I suspect there's an easier way ?)  Any tips gratefully received. 

Bob P

Quote from: samdavo on November 28, 2013, 04:34:12 AM
ok lol - I have a couple of real simple questions (I think) on something different - and I'm sure it's possible by a better method. 

Suppose
a. I want to draw the line of intersection of the grey circular plane and the white circular plane. (including the exact length of that line of intersection)
Menu>Draw>Lines>Surface intersection
Quote
b. trim the circular planes to that line
Two possible approaches:
1. Menu>Edit>Cut plane (You will have to duplicate the cutting line since it is lost when you do the cutting.)
2. Slice (Selected entity only) Use each circle or circle remnant plane to slice the other.

samdavo

#2
I post my Thanks Bob - complete with red face.  :-[
How easy was that? lol
As an estimate I would say my way was 10 times longer. 

PS when I say I looked (through the menu) for a way to draw that line, it must have been a man-look (as my wife would say). cheers.

Dr PR

Sam,

I use the "Surface Intersect" very frequently in 3D. There is something you need to know about how it works.

DesignCAD displays grid facets as rectangles. This includes the sides of cylinders, surface grids, etc. However, it calculates them as two triangles, and that is how they are displayed. Normally the two triangles are coplanar so you just see a rectangle. However, for highly curved complex surfaces, such as a helical sweep, it uses the triangles because you can't create a smooth helical surface with rectangles. Because we are talking solids, if you use Gouraud or Phong shading the program generates a smooth surface and you don't see any of the facets.

When you use "Surface Intersect" the program sets a point at the intersection with each edge of the triangles. So where the intersection crosses a rectangular facet you get points at two visible sides of the rectangle and an intermediate point along the invisible hypotenuse of the two triangles that make up the facet.

This can cause real problems if you try to snap to a point on the side of the rectangular facet near a corner. Here the point on the side of the rectangle and the point on the triangle hypotenuse are very close together - they may even display as one point. But you may accidentally snap to the hypotenuse point and not to the side point. This has screwed me up innumerable times!

I wish we had the option to set only points on the sides of the facets and ignore the points on the hypotenuse, but we don't.

Phil
DesignCAD user since 1987

samdavo

Phil - thanks for the tips there.  As I've said a few times, you have clearly forgotten more than I will ever know :)

Bob P

I have the opposite problem with grids.  I don't like that they can be a non-planar "plane".  (I think it's a legacy ACad entity.)  IMHO, if you make a complex surface, you should be able to see every component, if for no other reason but to accurately place intersecting lines.  If you have ever exported to STL via Accutrans, you've seen what a mess sometimes comes from the DC>DXF>STL conversion.

Dr PR

Bob,

I agree for some cases. It would be nice to be able to export grids as a collection of triangles. Some other programs create solids out of triangles only and it would make it easier to export files to these programs.

Also, non-planar "planes" of four or more sides are anathma in DesignCAD 3D drawings. They can really screw up rendering, and they can cause the solid Boolean operations to misbehave. It would be nice to have the option to break non-planer planes into triangles automatically so they could never exist in a drawing.

On the other hand, it is bad enough now with grids that are displayed as a "fishnet" pattern with "Image/Save Image File" and when the file is saved as a 2D projection. Worse still, the hidden line routines miss a great number of facet edges that should be hidden, making a mess out of any image with a grid in it. I have to manually erase all of the interior net patterns in order to get a clean image for illustrations. Having all the facet hypotenuses thrown into the mess would make this much harder.

Phil
DesignCAD user since 1987

samdavo

#7
Quote from: Dr PR on November 29, 2013, 09:49:52 AM
Having all the facet hypotenuses thrown into the mess would make this much harder.
Bob and Phil -
just like when the hippopotamus's faeces hits the rotating mechanism,  ...
that all makes scents. :))   
and facetating.

PS just to show you I know a little of what you are talking about Phil, I post that sketch I did of "shipmodeler's grate endeavour" - removing even those lines took long enough.   And they were simple "bend lines" of a cylindrical surface rather than the general case you are discussing of curved surfaces. 

BUT having said that, and just trying to contribute and/or advance the argument ... You will note that the lines I want to get rid of are all green (and layer 4), whereas the lines I want to keep are gold (and layer 3).

So I thought to myself, wouldn't it be great if you could not only add the "hypotenuses lines",  but also make them a new layer, or a "new type of entity" that could easily be selected.     

Then HLR  could mean both hidden line removal, and also hypotenuse line removal.  :)