AnyCAD C#三维图形控件使用说明
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
AnyCAD
.Net Graphics Component
User Manual
(R2014UR1)
2014.5
Contents
1.Overview (4)
1.1.Capabilities (4)
1.1.1.Modeling (4)
1.1.2.Data exchange (4)
1.1.3.Visualization (5)
2.Get Start (6)
2.1.Add assembly DLLs (6)
2.2.Add the visualization control (6)
3.Modeling (7)
3.1.Modeling (7)
3.2.Visualization geometry (7)
3.3.Explore the TopoShape (8)
3.4.Get Common Geometry Property (8)
3.5.Curve information (8)
3.6.Surface information (8)
3.7.Face triangulation (9)
4.Visualization (11)
4.1.View settings (11)
4.1.1.Background color (11)
4.1.2.Show/Hide drawing grid (11)
4.1.3.Set the camera view (11)
4.1.4.Set Display Mode (12)
4.1.5.Set Pick Mode (12)
4.2.Scene Management (13)
4.2.1.Visualize TopoShape Geometry (13)
4.2.2.Create Group Node (13)
4.2.3.Set Node Style (13)
4.2.4.Query selected geometry (14)
4.3.Point Conversion (14)
4.3.1.World point to screen point (3D->2D) (14)
4.3.2.Screen point to world point (2D – 3D) (14)
5.Data Exchange (16)
6.Reference (17)
1.Overview
AnyCAD .Net Graphics Component is the professional graphics SDK for .Net developers, which can help you create 3D applications rapidly. This rapid graphics framework is focusing on 3d modeling, visualization and data exchange.
Our goal is to help our customers to make great 3D applications. If you have any issues, please contact us:support@
1.1.Capabilities
1.1.1.Modeling
Features of 3d modeling:
Primitive geometry modeling for point, line, polyline, spline, arc, circle, sphere, box, cylinder, cone, surface from points etc…
Compound: wire, shell, solid, compound.
Modeling methods for extrude, sweep, loft, revole, chamfer, fillet, projection, rotate, move, scale, etc…
Boolean operation for union, cut, common.
1.1.
2.Data exchange
The standard AnyCAD .Net Graphics Component supports the following STEP,IGES,STL,DXF formats.
STEP
Support import and export. You can get the “tree”structure of STEP file with shape
names.
IGES
Support import and export.
STL
Support import and export. You can control the triangulation precision when exporting.
DXF (beta)
Support import DXF.
1.1.3.Visualization
AnyCAD .Net Graphics Component contains the visualization control for WinForm and WPF, which can help you to add the 3D control to you Form easily.
Features of visualization:
Default Camera operation
Z oom in/out, fit window, rotation, pan… and no coding required.
Selection management
Pick by mouse.
Add to object to selection/Clear selection set.
Query selected node and geometry, including sub Face/Edge/Vertex.
Set selection filter for node, group, face, edge, vertex…
Scene node management
Add, delete, find by id.
Create node group.
Render Style
Customize the face, edge, vertex styles, including color, line width, point size, and face
materials.
Display mode
Wireframe, shading, shading with edge…
Gradient background color settings
Print current view to PDF
Export current view to images, such as jpg/png.