NSS HGM SDK, a SDK for Hybrid Geometric Modeling, contains functions and classes for Boolean operations, surface trimmings, and geometry trimmings.

The functions and classes allow primary geometric objects, extended geometric objects and surface patches to join in Boolean operations. Boolean operations usually generate solid geometric models.

The SDK provides a method for Booolean operations. The method uses the following steps, in which each Boolean operation has two geometric objects A and B:

- 1) Decomposing geometric objects, A and B, into facets and triangulating the facets.
- 2) Building neighboring triangles for each triangle in the sets.
- 3) Building intersection lines between geometric objects A and B.
- 4) Splitting each triangle through which an intersection line passes.
- 5) Checking inside outside to decide which triangles are obscure.
- 6) Regrouping triangles of A and B to form a Boolean operation result.
- 7) A Boolean operation's result is directly accessible.

The functions and classes allow ordinary surface patches, swept or swung surface patches to join in surface trimmings.

The SDK provides a method for surface trimmings. The method uses the following steps, in which a contour line is a trimming line, geometric object A is a surface patch:

- 1) Extruding a contour line along a coordinate axis and generating a 3D extended shape B.
- 2) Decomposing geometric objects, A and B, into facets and triangulating A and B.
- 3) Building neighboring triangles for each triangle in the sets.
- 4) Building intersection lines between geometric objects A and B.
- 5) Splitting each triangle of A through which an intersection line passes.
- 6) Marking boundary triangles and checking whether a triangle is on the left or right side of the contour line.
- 7) Regrouping triangles of A by removing triangles located on one side of the contour line and retaining triangles located on another side.

The functions and classes allow primary geometric objects, extended geometric objects and surface patches to join in geometry trimmings, which generate solid geometric models or open geometric models.

The SDK provides a method for geometry trimmings. The method uses the following steps, in which each geometry trimming has two geometric objects A and B:

- 1) Decomposing geometric objects, A and B, into facets, and triangulating the facets.
- 2) Building neighboring triangles for each triangle in the sets.
- 3) Building intersection lines between geometric objects A and B.
- 4) Splitting each triangle of A and B through which an intersection line passes.
- 5) Marking boundary triangles and sectioning A and B with intersection lines.
- 6) Regrouping triangles of A and B by retaining featured sections and removing other sections.
- 7) A trimming operation result is directly accessible.

NSS Web3d Modeler, a Computer Graphics system, has concise, flexible, and powerful functions.

- The Boolean operation method embedded in this Modeler (V8) is flexible and efficient, is able to create fine and complex geometric models. Different geometric shapes, primary geometric objects, extruded geometric objects, and surfaces are able to participate in Boolean operations, the Boolean operations results are fine, and the system allows many Boolean operations to model a product.
- NSS Web3d Modeler V8 provides CSG, Constructive Solid Geometry, which records a Boolean operation sequence that includes geometric parameters and operational parameters. Changing one of the parameters may generate a different geometric model.
- The trimming operation method embedded in this Modeler, V8, is flexible and efficient, and is able to create fine and complex geometric models. Different geometric shapes, primary geometric objects, extruded geometric objects, and surfaces are able to participate in trimming operations, the trimming operations results are fine, and the system allows many trimming operations to model a product.
- NSS Web3d Modeler V8 provides TG, Trimming Geometry, which records a trimming operation sequence that includes geometric parameters and operational parameters. Changing one of the parameters may generate a different geometric model.
- NSS Web3d Modeler V8 provides CHG, Constructive Hybrid Geometry, which records Boolean operations and trimming operations as a sequence includes geometric parameters and operational parameters. Changing one of the parameters may generate a different geometric model.
- NSS Web3d Modeler provides design view, code view, and scene graph in an integrated design environment that encapsulates authoring, editing, modeling, parsing, rendering, compiler, geometric operations, and verification commands in a single application, which may reduce design cost and speed up production.
- Concise, flexible, and powerful functions allow user to focus on design. NSS Web3d Modeler provides a set of dedicated commands, enriched calculation methods, and unity interface elements enabling user to control every aspect of a virtual world.
- NSS Web3d Modeler provides drag-and-drop operations, copy-and-paste methods, visual editing commands, dedicated rules for X3D content verification, and optimized and refreshed system architecture to enable real time authoring. The kernel of NSS Web3d Modeler, ECMA 232 script engine, virtual world rendering engine, X3D/XML/VRML parser, and geometric modeling, are seamlessly integrated to ensure immediate data transformation.

The patented method, Immediate Boolean Operations Using Geometric Facets,

- provides five Boolean operation commands and a surface trimming command as a unity solution for Solid Modeling and Surface Modeling systems;
- uses accurate calculations that are able to create fine and complex geometric models;
- is able to create variant geometric models, both geometric shapes and facets contribute to Boolean operation results;
- is very flexible, being able to conduct Boolean operations with primary geometric shapes, thin shapes, swept or extruded shapes;
- is able to handle both convex and concave shapes using the same procedures;
- is concise and robust;
- is able to work without CSG and B-REP, and is able to work with CSG and B-REP.

The patented method, Hybrid Modeling Using Geometric Facets,

- provides geometric trimmings that are able to generate solid models and also able to generate no solid geometric models;
- uses accurate calculations that are able to create fine and complex geometric models;
- is able to create variant geometric models, both geometric shapes and facets contribute to trimming operation results;
- is very flexible, being able to conduct trimming operations with primary geometric shapes, thin shapes, swept or extruded shapes;
- is able to handle both convex and concave shapes using the same procedures;
- is concise and robust;
- is able to be recorded in CHG, in which geometric parameters and trimming parameters can be changed to generate different models.