Browsing all articles from December, 2010

AnyCAD Editor 2011

Posted Posted by anycad in News     Comments No comments
Dec
27

AnyCAD Editor is a 3d modeling & programming tool, and it also support customized parameters. Programming means that you need to write code to generate geometries, parameter means you can add your own parameters to control the the shape of your geometry. Does it sound complex? No, it’s very simple to use.

Here are the steps to use AnyCAD Editor:

Case 1: script only

Use BrepTools to generate geometry and assign to theShape object. See sample 2.

Case 2: Parameter & Script

Add parameters, use the parameter to create the geometry. See sample 1.

read more

AnyCAD Editor Sample 2

Posted Posted by AnyCAD in Help, Showcase     Comments 1 comment
Dec
27
We won’t use parameter in this sample, so it becomes simple:
– Create a polygon
– Create the extrude shape
– Add fillet
arrPts = Vector3List()
arrPts:Add(Vector3(-200, 200, 0))
arrPts:Add(Vector3(200, 200, 0))
arrPts:Add(Vector3(200, 100, 0))
arrPts:Add(Vector3(100, 100, 0))
arrPts:Add(Vector3(100, -100, 0))
arrPts:Add(Vector3(200, -100, 0))
arrPts:Add(Vector3(200, -200, 0))
arrPts:Add(Vector3(-200, -200, 0))
arrPts:Add(Vector3(-200, -100, 0))
arrPts:Add(Vector3(-100, -100, 0))
arrPts:Add(Vector3(-100, 100, 0))
arrPts:Add(Vector3(-200, 100, 0))
aBrepTool=BrepTools()
aPolygon=aBrepTool:MakePolygon(arrPts)
aFace = aBrepTool:MakeFace(aPolygon)
aExtrude = aBrepTool:Extrude(aFace, 500, Vector3(0,0,1))
theShape = aBrepTool:Fillet(aExtrude, 15)

Results:

PS:

Please use AnyCAD Editor 2011 to test this sample.

AnyCAD Viewer 2011

Posted Posted by anycad in News, Showcase     Comments 6 comments
Dec
14

AnyCAD Viewer is a free viewer for 3d models.You can use this simple tool to view the geometries freely. AnyCAD Viewer 2011 supports the popular 3d model file formats such as STL, STEP,IGES,3DS. More formates will be added in the near future.

AnyCAD Viewer 2011 supports the popular 3d model file formats such as STL, STEP,IGES,3DS

Please let us know what kinds of format do you want AnyCAD Viewer to support.

AnyCAD Editor Sample 1

Posted Posted by anycad in Help, News, Showcase     Comments 1 comment
Dec
9

This sample demonstrates how to build a cylinder geometry and apply the fillet feature on it.

1. Add Parameters

Open the Parameter Manager dialog, add three double parameters: Height, Radius, Angle.

2. Write the script:



aBrepTool=BrepTools();
aHeightParam = theParameterSet:FindParameter(“Height”)
aAngleParam = theParameterSet:FindParameter(“Angle”)
aRadiusParam = theParameterSet:FindParameter(“Radius”)
aShape=aBrepTool:MakeCylinder(Vector3(0,0,0), Vector3(0,0,1), aRadiusParam:AsDouble(), aHeightParam:AsDouble(), aAngleParam:AsDouble())
theShape = aBrepTool:Fillet(aShape, 5)

3. Run

anycad.editor.sample

PS:

This sample is based on AnyCAD Editor 2011

AnyCAD Editor 2011

Posted Posted by anycad in Download, News     Comments 1 comment
Dec
8

read more

ACIS OpenCASCADE SketchUp Ogre3d VTK AutoCAD SKP IGES STEP SAT DWG DWF DXF STL free viewer editor freeware 3d model