Skip to content

Modify entities' parameters after importing the STEP file? Is it Possible? #880

Open
@JosephLZD

Description

@JosephLZD

Hi, I'm wondering if it is possible to modify entities' parameters after importing the .stp file, then to export it as a .stp file again?

For example, this is a tilted cup, and I can output its info (locations, radius...). Although I can do translation, I have no idea how to modify its radius except for redrawing the entity. What if the entity is complex and hard to be redrawn?

Any help would be greatly appreciated!

屏幕快照 2020-08-21 下午5 20 04

Face selected: <class 'TopoDS_Face'>
--> cylinder
radius: 40.0
coefficients: (1.0, 0.25000000000018996, 0.7499999999998102, 0.0, 0.0, 0.43301270189232904, 0.0, -0.0, -0.0, -1600.0)
--> Location (global coordinates) 0.0 0.0 0.0
--> Axis (global coordinates) 0.0 -0.866025403784329 0.50000000000019

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions