几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】how this file is created in solidworks (http://www.dimcax.com/hust/showthread.php?t=5397)

yang686526 2009-04-13 11:52 AM

【转帖】how this file is created in solidworks
 
how this file is created in solidworks?
dear all,
could anyone tell me that how this solidwork part file (which is zipped) is created, i mean the steps to make exactly the same file. a recorded macro or step-by-step document will help a lot.
thanks,
artman
all it is is a simple rectangle with an infinite construction line, extruded 500mm, then 2 curves imported from text files containing x,y,z points (c:\work\marlow_work\farzin\test_stl\upper.txt and c:\work\marlow_work\farzin\test_stl\lower.txt).
a new sketch is then created and the curves projected (converted) onto the sketch, and then a cut extrude feature added to cut through all using that sketch contour.
api wise it is simple enough to do.
why would you want a macro to re-create this file?
luke malpass,
i need to use the macro codes in another program which automatically creates this design, could you please record a macro and send it to me?
thanks for reply,
artman
quick


所有的时间均为北京时间。 现在的时间是 11:54 AM.