Opencascade.js Versions Save

Port of the OpenCascade CAD library to JavaScript and WebAssembly via Emscripten.

v1.1.1

3 years ago
  • Removed support for TColQuantity_Array1OfLength and TopoDS_ListOfShape, as they cause errors during initialization of the library.

v1.1.0

3 years ago

This build is unusable due to an error during the initialization phase.

  • More accurate way of counting supported and unsupported classes
  • Removed support for classes Aspect_Background, Aspect_CircularGrid, Aspect_GenId, Aspect_GradientBackground, Aspect_Grid, Aspect_RectangularGrid, Aspect_Touch, Aspect_VKeySet, Aspect_Window, math_Householder, math_IntegerVector, math_Matrix, math_Vector due to an error (breaking change)
  • Added support for classes IntPatch_ALine, IntPatch_ALineToWLine, IntPatch_ArcFunction, IntPatch_CSFunction, IntPatch_CurvIntSurf, IntPatch_GLine, IntPatch_HCurve2dTool, IntPatch_HInterTool, IntPatch_ImpImpIntersection, IntPatch_ImpPrmIntersection, IntPatch_InterferencePolyhedron, IntPatch_LineConstructor, IntPatch_PolyArc, IntPatch_PolyLine, IntPatch_Polygo, IntPatch_PolyhedronTool, IntPatch_PrmPrmIntersection, IntPatch_PrmPrmIntersection_T3Bits, IntPatch_SpecialPoints, IntPatch_TheIWLineOfTheIWalking, IntPatch_TheIWalking, IntPatch_ThePathPointOfTheSOnBounds, IntPatch_TheSOnBounds, IntPatch_TheSearchInside, IntPatch_TheSegmentOfTheSOnBounds, IntPatch_TheSurfFunction, IntPatch_WLineTool, Interface_Category, Interface_CheckFailure, Interface_CheckTool, Interface_CopyMap, Interface_EntityCluster, Interface_FileParameter, Interface_GTool, Interface_GlobalNodeOfGeneralLib, Interface_GlobalNodeOfReaderLib, Interface_IntVal, Interface_InterfaceMismatch, Interface_NodeOfGeneralLib, Interface_NodeOfReaderLib, Interface_ParamList, Interface_ParamSet, Interface_ReportEntity, Interface_STAT, Interface_ShareFlags, Interface_ShareTool, Interface_SignLabel, Interface_Static, Interface_TypedValue, Interface_UndefinedContent, OSD, OSD_Directory, OSD_DirectoryIterator, OSD_Disk, OSD_Environment, OSD_Exception, OSD_Exception_ACCESS_VIOLATION, OSD_Exception_ARRAY_BOUNDS_EXCEEDED, OSD_Exception_CTRL_BREAK, OSD_Exception_FLT_DENORMAL_OPERAND, OSD_Exception_FLT_DIVIDE_BY_ZERO, OSD_Exception_FLT_INEXACT_RESULT, OSD_Exception_FLT_INVALID_OPERATION, OSD_Exception_FLT_OVERFLOW, OSD_Exception_FLT_STACK_CHECK, OSD_Exception_FLT_UNDERFLOW, OSD_Exception_ILLEGAL_INSTRUCTION, OSD_Exception_INT_DIVIDE_BY_ZERO, OSD_Exception_INT_OVERFLOW, OSD_Exception_INVALID_DISPOSITION, OSD_Exception_IN_PAGE_ERROR, OSD_Exception_NONCONTINUABLE_EXCEPTION, OSD_Exception_PRIV_INSTRUCTION, OSD_Exception_STACK_OVERFLOW, OSD_Exception_STATUS_NO_MEMORY, OSD_FileIterator, OSD_Host, OSD_MAllocHook, OSD_MemInfo, OSD_OSDError, OSD_PerfMeter, OSD_Process, OSD_Protection, OSD_SIGBUS, OSD_SIGHUP, OSD_SIGILL, OSD_SIGINT, OSD_SIGKILL, OSD_SIGQUIT, OSD_SIGSEGV, OSD_SIGSYS, OSD_SharedLibrary, OSD_Signal, OpenGl_Aspects, OpenGl_AspectsProgram, OpenGl_AspectsSprite, OpenGl_AspectsTextureSet, OpenGl_BackgroundArray, OpenGl_CappingAlgo, OpenGl_CappingPlaneResource, OpenGl_Caps, OpenGl_Clipping, OpenGl_ClippingIterator, OpenGl_ClippingState, OpenGl_Context, OpenGl_Element, OpenGl_Flipper, OpenGl_Font, OpenGl_FrameBuffer, OpenGl_FrameStats, OpenGl_FrameStatsPrs, OpenGl_GraduatedTrihedron, OpenGl_GraphicDriver, OpenGl_Group, OpenGl_IndexBuffer, OpenGl_LayerList, OpenGl_LightSourceState, OpenGl_LineAttributes, OpenGl_MaterialState, OpenGl_ModelWorldState, OpenGl_NamedResource, OpenGl_OitState, OpenGl_PointSprite, OpenGl_PrimitiveArray, OpenGl_ProjectionState, OpenGl_RaytraceGeometry, OpenGl_Resource, OpenGl_Sampler, OpenGl_SetOfPrograms, OpenGl_SetOfShaderPrograms, OpenGl_ShaderManager, OpenGl_ShaderObject, OpenGl_ShaderProgram, OpenGl_ShaderUniformLocation, OpenGl_StateCounter, OpenGl_StateInterface, OpenGl_StencilTest, OpenGl_Structure, OpenGl_StructureShadow, OpenGl_Text, OpenGl_TextBuilder, OpenGl_Texture, OpenGl_TextureBufferArb, OpenGl_TextureFormat, OpenGl_TextureSet, OpenGl_TriangleSet, OpenGl_VariableSetterSelector, OpenGl_VertexBuffer, OpenGl_VertexBufferCompat, OpenGl_Window, OpenGl_Workspace, OpenGl_WorldViewState, WNT_ClassDefinitionError
  • Added supported for the following specializations of the NCollection_Array1 template class: TColStd_Array1OfByte, Graphic3d_Array1OfAttribute, TColgp_Array1OfPnt, TColgp_Array1OfPnt2d, Poly_Array1OfTriangle, TColStd_Array1OfInteger, TShort_Array1OfShortReal, Quantity_Array1OfColor, TColgp_Array1OfDir, TColStd_Array1OfTransient, TColStd_Array1OfAsciiString, Interface_Array1OfHAsciiString, TColStd_Array1OfReal, TColGeom_Array1OfSurface, AppParCurves_Array1OfMultiPoint, TColgp_Array1OfVec, TColgp_Array1OfVec2d, AppDef_Array1OfMultiPointConstraint, AppParCurves_Array1OfConstraintCouple, AppParCurves_Array1OfMultiBSpCurve, AppParCurves_Array1OfMultiCurve, Approx_Array1OfAdHSurface, Approx_Array1OfGTrsf2d, BOPDS_VectorOfPave, BRepAdaptor_Array1OfCurve, TColStd_Array1OfBoolean, Extrema_Array1OfPOnCurv, Extrema_Array1OfPOnSurf, Bnd_Array1OfSphere, GeomFill_Array1OfLocationLaw, TopTools_Array1OfShape, GeomPlate_Array1OfSequenceOfReal, Plate_Array1OfPinpointConstraint, TColgp_Array1OfXYZ, GeomPlate_Array1OfHCurve, TColGeom2d_Array1OfCurve, GeomFill_Array1OfSectionLaw, ChFiDS_SecArray1, Bnd_Array1OfBox, Message_ArrayOfMsg, Bnd_Array1OfBox2d, TColStd_Array1OfListOfInteger, ChFiDS_StripeArray1, Expr_Array1OfNamedUnknown, Expr_Array1OfGeneralExpression, Expr_Array1OfSingleRelation, Extrema_Array1OfPOnCurv2d, TColgp_Array1OfXY, TColgp_Array1OfCirc2d, GccEnt_Array1OfPosition, TColgp_Array1OfLin2d, TColGeom2d_Array1OfBSplineCurve, TColGeom2d_Array1OfBezierCurve, TColGeom_Array1OfBSplineCurve, TColGeom_Array1OfBezierCurve, GeomLib_Array1OfMat, Graphic3d_ArrayOfIndexedMapOfStructure, HLRAlgo_Array1OfPHDat, HLRAlgo_Array1OfPINod, HLRAlgo_Array1OfPISeg, HLRAlgo_Array1OfTData, HLRBRep_Array1OfEData, HLRBRep_Array1OfFData, Intf_Array1OfLin, IGESAppli_Array1OfNode, IGESAppli_Array1OfFiniteElement, IGESData_Array1OfIGESEntity, IGESDraw_Array1OfConnectPoint, IGESGraph_Array1OfTextDisplayTemplate, IGESAppli_Array1OfFlow, IGESDefs_Array1OfTabularData, IGESGraph_Array1OfTextFontDef, IGESDimen_Array1OfGeneralNote, IGESBasic_Array1OfLineFontEntity, IGESData_Array1OfDirPart, IGESDimen_Array1OfLeaderArrow, IGESDraw_Array1OfViewKindEntity, IGESGraph_Array1OfColor, IGESGeom_Array1OfBoundary, IGESGeom_Array1OfCurveOnSurface, IGESGeom_Array1OfTransformationMatrix, IGESSolid_Array1OfLoop, IGESSolid_Array1OfFace, IGESSolid_Array1OfShell, IGESSolid_Array1OfVertexList, IntTools_Array1OfRange, IntTools_Array1OfRoots, Interface_Array1OfFileParameter, MeshVS_Array1OfSequenceOfInteger, StepDimTol_Array1OfDatumReferenceModifier, StepRepr_Array1OfRepresentationItem, StepVisual_Array1OfTessellatedItem, StepDimTol_Array1OfDatumSystemOrReference, StepVisual_Array1OfPresentationStyleSelect, StepVisual_Array1OfPresentationStyleAssignment, TColgp_Array1OfDir2d, TColGeom_Array1OfCurve, TColStd_Array1OfExtendedString, TDataStd_LabelArray1, TDataXtd_Array1OfTrsf, StepAP203_Array1OfApprovedItem, StepAP203_Array1OfCertifiedItem, StepAP203_Array1OfChangeRequestItem, StepAP203_Array1OfClassifiedItem, StepAP203_Array1OfContractedItem, StepAP203_Array1OfDateTimeItem, StepAP203_Array1OfPersonOrganizationItem, StepAP203_Array1OfSpecifiedItem, StepAP203_Array1OfStartRequestItem, StepAP203_Array1OfWorkItem, StepRepr_Array1OfMaterialPropertyRepresentation, StepFEA_Array1OfNodeRepresentation, StepAP214_Array1OfApprovalItem, StepAP214_Array1OfDateAndTimeItem, StepAP214_Array1OfDateItem, StepAP214_Array1OfDocumentReferenceItem, StepAP214_Array1OfExternalIdentificationItem, StepAP214_Array1OfGroupItem, StepAP214_Array1OfOrganizationItem, StepAP214_Array1OfPersonAndOrganizationItem, StepAP214_Array1OfPresentedItemSelect, StepAP214_Array1OfSecurityClassificationItem, StepAP214_Array1OfAutoDesignDateAndPersonItem, StepAP214_Array1OfAutoDesignDateAndTimeItem, StepAP214_Array1OfAutoDesignDatedItem, StepAP214_Array1OfAutoDesignGeneralOrgItem, StepAP214_Array1OfAutoDesignGroupedItem, StepAP214_Array1OfAutoDesignPresentedItemSelect, StepAP214_Array1OfAutoDesignReferencingItem, StepBasic_Array1OfApproval, StepBasic_Array1OfDerivedUnitElement, StepBasic_Array1OfDocument, StepBasic_Array1OfNamedUnit, StepBasic_Array1OfOrganization, StepBasic_Array1OfPerson, StepBasic_Array1OfProductContext, StepBasic_Array1OfProduct, StepBasic_Array1OfProductDefinition, StepBasic_Array1OfUncertaintyMeasureWithUnit, StepData_Array1OfField, StepDimTol_Array1OfDatumReference, StepDimTol_Array1OfDatumReferenceCompartment, StepDimTol_Array1OfDatumReferenceElement, StepDimTol_Array1OfGeometricToleranceModifier, StepDimTol_Array1OfToleranceZoneTarget, StepRepr_Array1OfShapeAspect, StepElement_Array1OfCurveElementEndReleasePacket, StepElement_Array1OfCurveElementSectionDefinition, StepElement_Array1OfHSequenceOfCurveElementPurposeMember, StepElement_Array1OfHSequenceOfSurfaceElementPurposeMember, StepElement_Array1OfMeasureOrUnspecifiedValue, StepElement_Array1OfSurfaceSection, StepElement_Array1OfVolumeElementPurpose, StepElement_Array1OfVolumeElementPurposeMember, StepFEA_Array1OfCurveElementEndOffset, StepFEA_Array1OfCurveElementEndRelease, StepFEA_Array1OfCurveElementInterval, StepFEA_Array1OfDegreeOfFreedom, StepFEA_Array1OfElementRepresentation, StepGeom_Array1OfCompositeCurveSegment, StepGeom_Array1OfBoundaryCurve, StepGeom_Array1OfCartesianPoint, StepGeom_Array1OfCurve, StepGeom_Array1OfPcurveOrSurface, StepGeom_Array1OfSurfaceBoundary, StepGeom_Array1OfTrimmingSelect, StepRepr_Array1OfPropertyDefinitionRepresentation, StepShape_Array1OfFaceBound, StepShape_Array1OfEdge, StepShape_Array1OfConnectedEdgeSet, StepShape_Array1OfFace, StepShape_Array1OfConnectedFaceSet, StepShape_Array1OfGeometricSetSelect, StepShape_Array1OfOrientedClosedShell, StepShape_Array1OfOrientedEdge, StepShape_Array1OfShapeDimensionRepresentationItem, StepShape_Array1OfShell, StepShape_Array1OfValueQualifier, StepVisual_Array1OfAnnotationPlaneElement, StepVisual_Array1OfBoxCharacteristicSelect, StepVisual_Array1OfCameraModelD3MultiClippingInterectionSelect, StepVisual_Array1OfCameraModelD3MultiClippingUnionSelect, StepVisual_Array1OfCurveStyleFontPattern, StepVisual_Array1OfDirectionCountSelect, StepVisual_Array1OfDraughtingCalloutElement, StepVisual_Array1OfFillStyleSelect, StepVisual_Array1OfInvisibleItem, StepVisual_Array1OfLayeredItem, StepVisual_Array1OfStyleContextSelect, StepVisual_Array1OfSurfaceStyleElementSelect, StepVisual_Array1OfTextOrCharacter, Storage_ArrayOfCallBack, Storage_ArrayOfSchema, Storage_PArray, TColQuantity_Array1OfLength, TColStd_Array1OfCharacter, TDF_AttributeArray1, TFunction_Array1OfDataMapOfGUIDDriver, TopOpeBRep_Array1OfVPointInter, TopOpeBRep_Array1OfLineInter, TopTools_Array1OfListOfShape, TopOpeBRepDS_Array1OfDataMapOfIntegerListOfInterference, math_Array1OfValueAndWeight
  • Added supported for the following specializations of the NCollection_List template class: TColStd_ListOfInteger, PrsMgr_ListOfPresentations, PrsMgr_ListOfPresentableObjects, SelectMgr_TriangFrustums, TopoDS_ListOfShape, AIS_ListOfInteractive, AIS_NListOfEntityOwner, SelectMgr_ListOfFilter, TopTools_ListOfShape, TColStd_ListOfTransient, V3d_ListOfLight, V3d_ListOfView, Message_ListOfAlert, BOPAlgo_ListOfCheckResult, BOPDS_ListOfPave, BOPDS_ListOfPaveBlock, IntSurf_ListOfPntOn2S, BOPTools_ListOfConnexityBlock, TopTools_ListOfListOfShape, BRep_ListOfPointRepresentation, BOPAlgo_ListOfEdgeInfo, DBRep_ListOfEdge, DBRep_ListOfFace, HLRBRep_ListOfBPoint, DBRep_ListOfHideData, BOPTools_ListOfCoupleOfShape, BRep_ListOfCurveRepresentation, BRepCheck_ListOfStatus, BRepFill_ListOfOffsetWire, ChFiDS_ListOfStripe, ChFiDS_Regularities, BRepOffset_ListOfInterval, TDF_LabelList, CDM_ListOfReferences, CDM_ListOfDocument, TColStd_ListOfReal, TopOpeBRepDS_ListOfInterference, ChFiDS_ListOfHElSpine, Law_Laws, DDF_TransactionStack, ExprIntrp_StackOfGeneralExpression, ExprIntrp_StackOfGeneralRelation, ExprIntrp_StackOfGeneralFunction, TColStd_ListOfAsciiString, FEmTool_ListOfVectors, Font_NListOfSystemFont, HLRAlgo_InterferenceList, HLRAlgo_ListOfBPoint, HLRBRep_ListOfBPnt2D, HLRTopoBRep_ListOfVData, IntAna_ListOfCurve, IntPolyh_ListOfCouples, IntTools_ListOfCurveRangeSample, IntTools_ListOfSurfaceRangeSample, IntTools_ListOfBox, MeshVS_PolyhedronVerts, Message_ListOfMsg, NLPlate_StackOfPlate, Poly_ListOfTriangulation, Prs3d_NListOfSequenceOfPnt, QANCollection_ListOfPnt, TDataStd_ListOfExtendedString, TDataStd_ListOfByte, TDF_AttributeList, TNaming_ListOfNamedShape, TDF_AttributeDeltaList, TDF_IDList, TDF_DeltaList, TNaming_ListOfIndexedDataMapOfShapeListOfShape, TNaming_ListOfMapOfShape, TopBas_ListOfTestInterference, TopOpeBRep_ListOfBipoint, TopOpeBRepBuild_ListOfLoop, TopOpeBRepBuild_ListOfListOfLoop, TopOpeBRepBuild_ListOfShapeListOfShape, TopOpeBRepBuild_ListOfPave, TopOpeBRepTool_ListOfC2DF, VrmlData_ListOfNode

v1.0.2

3 years ago
  • added constructors for TColgp_Array1OfPnt as manual bindings

v1.0.1

3 years ago
  • Updated builds

v1.0.0

3 years ago
  • First version using Embind and automatically generated bindings.
  • Lots of breaking changes in this version. Most notably:
    • Overloaded methods and constructors are now fully supported (on all supported classes). Please have a look at the conventions for details.
    • Static methods have a slightly different interface. Before, you would call them via openCascade.ClassName.prototype.staticMethod(). Now, you call them via openCascade.ClassName.staticMethod().
  • Largely improved coverage of the OpenCascade API

v0.1.19

3 years ago
  • Last version with WebIDL bindings.