Bryan Cole a écrit : > Darn. I meant this to go to the list. Sorry Thomas. > > -------- Forwarded Message -------- > >> You have here a strong conflict >> (complexity/granularity) that can, as far is I know and from what >> > I've > >> seen, be simply solved by this way: >> - the assembly is a simple XML file that contain pointers to other >> > CAD > >> files and an absolute 3x4 position matrix, >> - store the CAD files and the XML in your PDM system, >> - generate the 'assembly view' on the fly whenever requested. >> > > This is more-or-less what I was after. After some quality time spent > with the OCC user manuals, and also with the help your XCAF demo, I've > figured out that XDE/XCAF does indeed do what I want. > > I'm trying to create a (STEP) document in which I insert some shapes > (each defined according to their own local coords), then position these > shapes in the global coords to form an assembly. Adding some color is > also nice. > > I don't need fancy (SolidWorks style) "mating" functionality. > > I've attached my working example, in case it's useful to others. >
Hey, very nice example. Thank you! Thomas _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users