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

generate a solid gives a mesh

  • Thread starter Thread starter archilan
  • Start date Start date

archilan

Guest
Hi, guys.

I have other curiosity and doubts to fill. . .

I have a model of a ground generated as a surface and I would like to turn it into solid. I looked a little around, and I saw that there is a lisp that does to my case, but with what I found you must select every face of the mash... do you know if there is one that allows me to select all surfaces and generate a solid automatically?

second easy issue:
Is there a lisp that transforms the lines (or polylineee) into solid I don't know type by selecting and deciding a section?

third and last for now!:smile:
Can I create a 3d polyline by intersecting multiple non-flat surfaces?

modeling objects in the landscape is a bit difficult:tongue:

thank you very much for the information

to the
 
1) Your surface is a mesh, right? attach something (better dwg) that makes you understand how it is made. What's the lisp?

2) I do not understand, try to see if it can go well extruding (create a surface) or limit changing thickness from the property window. the latter command does not change the thickness of the section, but assigns a height to the object.

3) place an example of the surface and indicate the autocad version.
 
Bye.
I just made a macro vba that could do for you.
the determination of the solid part from a set of points detected on the ground.
the listed plans are chosen with the triangulation of delaunay.
for each triangle is drawn the prism whose upper face is the soil.
If you are practical of vba it might be helpful.
 
Bye-bye.

first of all thanks for the answers!
I answer immediately to giuliano: I have no idea what a macro vba can be, forgives ignorance:tongue:

the lisp I mentioned I downloaded it from a site, it is called m2s that more or less does the things described by Julian (always I understood). the surface that I would like to transform into solid, with a thickness which is the type of the attached file. . .

for point 2, I know the ways indicated, but they generate surfaces, I meant (discussed, in fact I did not explain well) if there is a way, selelzionando uan or more lines, to make them become solid "bacchettes", a parallelepiped of length equal to the line and section to set!

for the third point I attach a file, I simply wanted to know if you can generate the intersection line of the surfaces!

grazi emille boys, in this forum you are all very kind!
to the
 

Attachments

1) edit the lisp, look in the last rows the part I highlighted in red, delete it and save.
to the next launch you will see that the procedure will continue automatically, although, given the heaviness of your model, the result will not be just immediate.
...........................
...........................
(command "_pline" s1 s2 s3 "_c")
(setq highest (max (caddr r1) (caddr r2) (caddr r3)))
(setq extr (- highest bot))
(command "_extrude" (entlast) "" extr 0.0)
(command "_slice" (entlast) "" "_3points" r1 r2 r3 s1)
(setq e1 (entlast))
(ssadd e1 ssrow)
);progn
);if
);defun

(princ "m2s loaded.")
2) the _box command (parallelepipedo) with option lHungarian, displayed after the selection of the initial point, also requires width and height.


3) you need to specify the version you use, however be careful that in autocad surfaces and mesh are different things.

:smile:
 
cg: what is the file lisp?

al: for the "baquettes" you thought about the loft command?
 
Bye-bye.

Sorry ignorance, I thought surfaces and mesh were the same thing that a mash was a surface:tongue:

Thanks first!
I tried to do as you say but working times are prohibitive! the file that I attached is a small part of the pattern of the soil that they gave me!

Perhaps it is better to insist on intersection between mesh or surfaces, at this point I do not know how to call them!!! Can you do that? I use the 2008 version of autocad

Thank you very much
to the
 
Bye.

I have examined your design and I must say that it is impressive. . .

Anyway, I think you can do this.

1 - explode the mesh. the result is a set of 3d faces, whose edges are not appearing.

2 - for each face 3d, build two triangular prisms whose vertices are the heads of the face.

3 - for each prism, draw the top according to the plan that passes for the three upper vertices.

4 - combine all prisms into one solid.

Of course, operations 2 and 3 must make them do a macro vba or lisp, and I assure you that it is very simple.

In vba, for example, you will do something like this.

for each face3d in selectionfaces
... extract the coordinates of the vertices (coordinate properties) and put them in an array points
... height = (quota ) higher
contourbase = activedocument.modelspace.addlwpline(...3_points... )
facebase = activedocument.modelspace. addregion(contornobase)
prisma = activedocument....addestrudedsolid(base, height)
prisma.slicesolid( ... superior leadership ...)
contourbase = activedocument.modelspace.addlwpline(...other_3_points... )
facebase = activedocument.modelspace. addregion(contornobase)
prisma = activedocument....addestrudedsolid(base, height)
prisma.slicesolid( ... superior leadership ...)
next face3d
 
Hi, guys.

thanks for the advice, but unfortunately my poor modeling skills do not allow me to apply the (seppur simple) indications that you gave me...
the fact is that I have to shape a road on that ground, and I hoped I could determine the axis of the road with interdections so as to extrude the section. . .
For now I don't know how to do it! I think about it a little while thank you, you were kind and very helpful!

to the
 

Forum statistics

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

Members online

No members online now.
Back
Top