blendquery icon indicating copy to clipboard operation
blendquery copied to clipboard

Relative locations of objects in an assembly are not respected

Open lenianiva opened this issue 7 months ago • 0 comments

Consider this:

import cadquery as cq

def makeBox():
    return (
        cq.Solid.makeBox(1, 1, 1)
    )
def makeCylinder():
    return (
        cq.Solid.makeCylinder(height=5, radius=0.2)
    )
result = (
    cq.Assembly()
    .add(makeBox(), name="b")
    .add(makeCylinder(), name="c", loc=cq.Location((0, 0, 3)))
)

When you put this into Blender, the relative locations of these two objects are not respected.

bug

I think we can get this solved along with introducing per member material for each object in an assembly. If the author is fine with this I can write a patch.

lenianiva avatar Jul 20 '24 04:07 lenianiva