Bryan, yes, in principle this is similar to what i am looking for. my idea is to be able to modify dimensions and other parameters of shapes. i want to open a dialogbox to enter numerical values for the transformation that will be applied to the current selection. you are certainly familiar with salome, where you can add some cube or other shape and then type in the width, length, height, color etc. if this is possible with pythonocc, i will be able to go a step further and apply the transformations.
i am afraid the the parametric modeling framework is too much overhead. i see that you define the parameters using a "Relation" which is a symbolic expression evaluated by some sympy library. all i need is to move the vertices that define edges and faces. is parametric modeling the right thing for my purposes? i remember some of my earlier tests with OCC in C++, where i applied the transformations to vertices, and after a refresh of the viewer the shapes were displayed at the new locations. is this impossible with pythonocc? thanks Willy ________________________________ From: Bryan Bishop <kanz...@gmail.com> To: pythonOCC users mailing list. <pythonocc-users@gna.org>; kanz...@gmail.com; Willy Hertz <willy.he...@yahoo.com> Sent: Tue, February 16, 2010 6:48:12 PM Subject: Re: [Pythonocc-users] modify a shape after display.DisplayShape(shape) On Tue, Feb 16, 2010 at 11:16 AM, Willy Hertz wrote: > i am pythonocc newbie, and my question may seem stupid. Willy, is this what you want to do? http://www.youtube.com/watch?v=ZUCv7COgzU0 - Bryan http://heybryan.org/ 1 512 203 0507
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users