Skip to content

Relative locations of objects in an assembly are not respected #8

@lenianiva

Description

@lenianiva

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions