Thank you,
this samples are very useful.
It doesn't run for the first try (topology_local_operations.py). But I
changed the code in line 283 to:
aform = BRepFeat_MakeLinearForm( S.Shape(), W.Wire(), aplane(),
and now it is running.
I think the best if I go through all of the samples, and try to understand
how does it work.
2009/10/31 jelle feringa <[email protected]>
> however I am not a programmer, but I am interesting for this library. I
>> have tied the tutorial and made a cylinder shape, which is really
>> parametric. It is amazing. :)
>> Is there possibility to refer to the created geometry somehow?
>
>
> Yup, use topology modules:
>
> from OCC.Utils.Topology import Topo
>
> for f in Topo(theCylinder).faces():
> do_something_with_the_face()
>
>
>
>> For example I want to make a box on the top of the cylinder. How can I
>> refer to the existing surface of the cylinder?
>>
>
> Depends on what you'd like to do.
> If you'd like to change the top face of the cylinder, by adding or
> subtracting a shape, then have a look at the local
> operations: src/samples/Level1/TopologyLocalOperations/
>
> Thanks for your interest!
>
> -jelle
>
>
>
>
>
>
> _______________________________________________
> Pythonocc-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/pythonocc-users
>
>
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users