pythonocc-core
pythonocc-core copied to clipboard
Modify entities' parameters after importing the STEP file? Is it Possible?
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!

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
i'd be interested in this as well - a short "it's possible" would actually be sufficient for now