Bryan Bishop a écrit : > Hey all, > Hi Bryan,
> I've been reading up on the old National Design Repository project > from Regli et al.; actually, I found out about them many months ago, > downloaded their repository, and earlier today found out that they > were using OpenCASCADE in their backend, and in fact were writing some > methods for "part mating"- checking whether or not two given parts > were compatible mates- which was put into a fascinating presentation: > > Scale-Space Representations and their Applications to 3D Matching of > Solid Models > powerpoint: > http://dimacs.rutgers.edu/Workshops/CompAided/slides/shokoufandeh.ppt > PDF of the same powerpoint: > http://heybryan.org/~bbishop/docs/Scale-Space%20Representations%20and%20their%20Applications%20to%203D%20Matching%20of%20Solid%20Models.ppt.pdf > Regli's stuff: http://designrepository.org/ > Thanks for these links. > Basically, it's a method of using the OCC topology classes to explore > whether or not two parts can be geometrically fit together. The method > of implementation looks somewhat straightforward, but it's a shame > that this code has to be written because (1) I'm unable to find > anything else (open source, or even free, I mean) out on the internet > (wtf?), and (2) apparently OCC used to have something in the API for > this called ShapePlacement. Check it out- > > http://www.opencascade.org/org/forum/thread_9680/ > > "I had been using the OCC ShapePlacement package to mate faces and > otherwise align my shapes (mostly boxes). I see that the OCC classes > were retired with OCC 6.1.0. Is there an alternative approach? I'm > aware that I could adopt the 5.2 package as my own and continue to use > it, but I'd rather avoid that if possible. Moreover, it seems that I > can't be the only person in the world seeking to position shapes by > mating or aligning faces (or edges). Any suggestions would be greatly > appreciated." > I also know people working on topology/geometry recognition in order to automate the finding of the best assembly/disassembly routings for complex products. Most of them work with OpenCascade to develop their proof-of-concept, whereas a few still use Catia V5 Visual Basic Macros. I don't know anything about the ShapePlacement package but, as I read your post and imagine features of this package, it should not be so hard to implement a function that align the faces of two shapes. It could make a very good pythonOCC sample indeed! > Anyway, I am also sending this to Regli in the hopes that maybe the > Scale-Space Representation work went somewhere- maybe there is some > code that I can look at and play with? > After a quick look on thi repository, it seems there are only CAD model in various formats, but no code to play with. > - Bryan > http://heybryan.org/ > 1 512 203 0507 > > Best Regards, Thomas _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users