gumyr / build123d

A python CAD programming library
Apache License 2.0
395 stars 72 forks source link

pack leaves floating objects #469

Open MatthiasJ1 opened 6 months ago

MatthiasJ1 commented 6 months ago

The pack's docstring states Pack objects in a squarish area in Plane.XY. I believe the intended use for this function is to arrange objects to be sent for cutting or 3d printing. In both cases you would want the objects placed on the plane.

BTW, theres no mention of pack in the documentation.

parts = [Box(1,1,1)] * 6
parts[0] = Pos(0,0,2) * parts[0]
parts = pack(parts, 0.5)
Screenshot
jdegenstein commented 6 months ago

Pack is mentioned on this page https://build123d.readthedocs.io/en/latest/tips.html

MatthiasJ1 commented 6 months ago

Huh, the only thing that shows up when using the search bar is TTT Party Pack

gumyr commented 6 months ago

Even though pack.pack() is in the docs in the above section the RTD search engine doesn't find "pack". The documentation of this feature could certainly be improved.