Skip to content

How do I read graphic data in a python recognized type? #20

@Frank-bool

Description

@Frank-bool
a = ops.Cube([10,10,10])
b = ops.Cube([4,4,4]).translate([4,4,4])

c = a & b

For example, how do I read data from c in a format that python recognizes,such as math, np.array and so on.

Or how do I know if A is empty?
The A here is the graph after the combination of graphics logic.
Since I need to perform logical operation on the created graph, I want to know whether the graph is intersected by logical operation.

I couldn't find an operation to convert the data from solidpython into a type recognized by python.

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions