Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

[Frage] CREATE A HOLE IN THE BOX


Hello guys!

As the title, I'm trying to create a hole in the box.

I use Cuboid3D to create my box but I don't know how to make a hole. I read about ExtrudedAreaSolid3D in Examples folder but honestly I don't really get it.

This image is my target.

Can anyone show me the way or your example or document in somewhere?

Thanks!

Anhänge (1)

Typ: image/png
46-mal heruntergeladen
Größe: 14,46 KiB

I still need a hand so if anyone have any idea please reply below.

Thanks for your time!

Hi,

Create a cylinder and subtract it from the Box.

Jurij

Stecke im Allplan seit 1995
Hotline für Kunden in Slowenien seit 1997

Zitiert von: Jurij_Sket
Hi,
Create a cylinder and subtract it from the Box.
Jurij

I use Polyhedron3D.CreateCuboid to create a cuboid and Cylinder3D to create a cylinder as you said, afer that, I use CreatePolyhedron(myCylinder, int) to create a Polyhedron3D because I want to use MakeSubtraction(Polyhedron3D,Polyhedron3D) function. But in this case, subtraction function retrun error MakeSubtraction(tuple, Polyhedron3D).

I really don't know how to say clearly, my bad English, so what subtraction function do you use in this case?

Sorry, I didn't notice "PhytonParts" - this is not my field, so unfortunatelly I can't help you.

Jurij

Stecke im Allplan seit 1995
Hotline für Kunden in Slowenien seit 1997

Hello,

Hope that's you already solved this problem.

If not, you can try:
- Create Box by BRep3D.CreateCuboid()
- Create Hole by BRep3D.CreateCuboid()
- make subtract using: err, brep_res = AllplanGeo.MakeSubtraction(Box, Hole)
The result is the Brep3D: brep_res

Zitiert von: Sanh_Mai
Hello,
Hope that's you already solved this problem.
If not, you can try:

- Create Box by BRep3D.CreateCuboid()

- Create Hole by BRep3D.CreateCuboid()

- make subtract using: err, brep_res = AllplanGeo.MakeSubtraction(Box, Hole)

The result is the Brep3D: brep_res

Yes you're right, you should convert cuboid to BRep3D first, before you can do boolean operation. (in allplan there are 2 types of geometric data : 1. Polyhedron3D, 2. BRep3D)


https://campus.allplan.com/ verwendet Cookies  -  Mehr Informationen

Akzeptieren