• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

selection method all intersecting entities a plan

  • Thread starter Thread starter Gio_S
  • Start date Start date
Good morning, I wrote a small application I use as "tornium". on a vertical column, select a point of a face that determines the share on which to act, then insert the value of the new scale. all the faces of revolution corresponding to this are scaled, but with a shortness, the new scale acts only for that selected z, so the faces that stand above and those that are below are not "screw" and keep the vertices in common. which is essential for the three-dimensional consistency of my object.
But I have to select, even if I have virtually made the selection, because I have indicated the z of the level that concerns the faces to "go back". how can I avoid pre-selling with a previous window?
I would mean "I want to select all the faces that have a summit that intersects that plan I indicated on one of those entities"
thanks early. I combine images of the work that makes my program because I fear I have not been clear! the arrow indicates the level I selected, which involved that level. the point is important because the lathe acted only on that outer diameter.
Thursday
ps.I don't understand why you don't allow me (I don't have permission) to attach images even if I have the comans! Plus I started the first incomplete post, thank you!
 
..."I want to select all the faces that have a summit that intersects that plan I indicated on one of those entities"
calculate the boundingbox of all objects and add to the selection those that have piss minor that you zmax greater than your reference z.
 
Maybe I didn't explain, I did wrong to write.
more appropriately, not intersecting, but "all faces that have a summit that jade on the floor indicated by me"
My routine assumes the center of rotation to xy=0,0 and I pass a summit any to the level that interests me to deform, and the new relationship to which it must scale. This is enough to find out how far the summits on that floor will have to stretch in a radial sense. but as I want to limit the selection process, first I impose a selection with crossing window, performed on the vertical projection, which encloses both my chosen z plan and all the diameter of the object.
Now, I was wondering if there is a native selection modalities or obtained from native selections that allow me to eliminate this preventive crossing window with which I pass a first selection to the lisp. should use instead just the conditions already said (elev z of the indicated point, and radius on which to return from the lisp from the distance of the same point from the origin 0.0.
(the points that do not respect this radius are discarded, otherwise I would stretch all the faces that use that level)
if I have to calculate the bounding box on the circumference and All the objects above and below (but I think that you mean only the intersecting above and below my z-reference plan) would be much more expensive than doing the simple window crossing on the vertical projection.
I better explain the steps I already do.
Thank you!
 

Attachments

  • passi.webp
    passi.webp
    52.3 KB · Views: 3
Here, maybe I found the way to make automatic crossing selection, (the four passways that must make the lisp up to the last blue stretch window)
once I (red point) simply select a single summit, he counts. instead of manually creating the orthogonal selection window I make it compute to the lisp... It is true that all the elements included in the column delimited by the window will come into my selection, but I have a passage less... the question would be resolved if you had a window selection method, but three-dimensional. . But it really doesn't exist. in this case the lisp should calculate the bounding box (but that is worth crossing) assuming a height of the box almost nothing in which my red point exists (and especially all and only the other points to "go back". avoiding the lisp to process all the elements of the column.
 

Attachments

  • quota.webp
    quota.webp
    19.1 KB · Views: 2

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top