Skip to content

Commit

Permalink
Add a function to create ellipsoids
Browse files Browse the repository at this point in the history
  • Loading branch information
sgenoud committed Feb 7, 2025
1 parent 7611fa8 commit 2405dfc
Show file tree
Hide file tree
Showing 11 changed files with 552 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ mainBuild:
- symbol: gp_Circ
- symbol: gp_Elips
- symbol: gp_Cylinder
- symbol: gp_Sphere
- symbol: gp_Trsf
- symbol: gp_GTrsf
- symbol: Geom2d_Line
Expand All @@ -41,6 +42,8 @@ mainBuild:
- symbol: Geom2d_Ellipse
- symbol: Geom2d_Circle
- symbol: Geom2d_Conic
- symbol: Geom_SphericalSurface
- symbol: Geom_ElementarySurface
- symbol: Handle_Geom2d_Geometry
- symbol: Handle_Geom2d_Line
- symbol: Handle_Geom2d_Curve
Expand All @@ -50,6 +53,9 @@ mainBuild:
- symbol: Handle_Geom2d_Circle
- symbol: Handle_Geom2d_BezierCurve
- symbol: Handle_Geom2d_BSplineCurve
- symbol: Handle_Geom_SphericalSurface
- symbol: Handle_Geom_ElementarySurface
- symbol: Handle_Geom_Geometry
- symbol: gp_Vec2d
- symbol: gp_Pnt2d
- symbol: gp_Dir2d
Expand Down Expand Up @@ -150,6 +156,7 @@ mainBuild:
- symbol: Geom2dConvert_ApproxCurve
- symbol: Geom2dConvert
- symbol: Convert_ParameterisationType
- symbol: GeomConvert
- symbol: StlAPI_Writer
- symbol: STEPControl_Writer
- symbol: STEPControl_StepModelType
Expand Down Expand Up @@ -183,6 +190,7 @@ mainBuild:
- symbol: BRepBuilderAPI_TransitionMode
- symbol: BRepBuilderAPI_Sewing
- symbol: BRepBuilderAPI_WireError
- symbol: BRepBuilderAPI_MakeShell
- symbol: BRepPrimAPI_MakeOneAxis
- symbol: BRepPrimAPI_MakeCylinder
- symbol: BRepPrimAPI_MakeBox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ mainBuild:
- symbol: gp_Circ
- symbol: gp_Elips
- symbol: gp_Cylinder
- symbol: gp_Sphere
- symbol: gp_Trsf
- symbol: gp_GTrsf
- symbol: Geom2d_Line
Expand All @@ -41,6 +42,8 @@ mainBuild:
- symbol: Geom2d_Ellipse
- symbol: Geom2d_Circle
- symbol: Geom2d_Conic
- symbol: Geom_SphericalSurface
- symbol: Geom_ElementarySurface
- symbol: Handle_Geom2d_Geometry
- symbol: Handle_Geom2d_Line
- symbol: Handle_Geom2d_Curve
Expand All @@ -50,6 +53,9 @@ mainBuild:
- symbol: Handle_Geom2d_Circle
- symbol: Handle_Geom2d_BezierCurve
- symbol: Handle_Geom2d_BSplineCurve
- symbol: Handle_Geom_SphericalSurface
- symbol: Handle_Geom_ElementarySurface
- symbol: Handle_Geom_Geometry
- symbol: gp_Vec2d
- symbol: gp_Pnt2d
- symbol: gp_Dir2d
Expand Down Expand Up @@ -150,6 +156,7 @@ mainBuild:
- symbol: Geom2dConvert_ApproxCurve
- symbol: Geom2dConvert
- symbol: Convert_ParameterisationType
- symbol: GeomConvert
- symbol: StlAPI_Writer
- symbol: STEPControl_Writer
- symbol: STEPControl_StepModelType
Expand Down Expand Up @@ -183,6 +190,7 @@ mainBuild:
- symbol: BRepBuilderAPI_TransitionMode
- symbol: BRepBuilderAPI_Sewing
- symbol: BRepBuilderAPI_WireError
- symbol: BRepBuilderAPI_MakeShell
- symbol: BRepPrimAPI_MakeOneAxis
- symbol: BRepPrimAPI_MakeCylinder
- symbol: BRepPrimAPI_MakeBox
Expand Down
9 changes: 9 additions & 0 deletions packages/replicad-opencascadejs/build-source/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- symbol: gp_Circ
- symbol: gp_Elips
- symbol: gp_Cylinder
- symbol: gp_Sphere
- symbol: gp_Trsf
- symbol: gp_GTrsf

Expand All @@ -44,6 +45,8 @@
- symbol: Geom2d_Ellipse
- symbol: Geom2d_Circle
- symbol: Geom2d_Conic
- symbol: Geom_SphericalSurface
- symbol: Geom_ElementarySurface
- symbol: Handle_Geom2d_Geometry
- symbol: Handle_Geom2d_Line
- symbol: Handle_Geom2d_Curve
Expand All @@ -53,6 +56,9 @@
- symbol: Handle_Geom2d_Circle
- symbol: Handle_Geom2d_BezierCurve
- symbol: Handle_Geom2d_BSplineCurve
- symbol: Handle_Geom_SphericalSurface
- symbol: Handle_Geom_ElementarySurface
- symbol: Handle_Geom_Geometry
- symbol: gp_Vec2d
- symbol: gp_Pnt2d
- symbol: gp_Dir2d
Expand Down Expand Up @@ -164,6 +170,8 @@
- symbol: Geom2dConvert
- symbol: Convert_ParameterisationType

- symbol: GeomConvert

- symbol: StlAPI_Writer
- symbol: STEPControl_Writer
- symbol: STEPControl_StepModelType
Expand Down Expand Up @@ -201,6 +209,7 @@
- symbol: BRepBuilderAPI_TransitionMode
- symbol: BRepBuilderAPI_Sewing
- symbol: BRepBuilderAPI_WireError
- symbol: BRepBuilderAPI_MakeShell
- symbol: BRepPrimAPI_MakeOneAxis
- symbol: BRepPrimAPI_MakeCylinder
- symbol: BRepPrimAPI_MakeBox
Expand Down
2 changes: 1 addition & 1 deletion packages/replicad-opencascadejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {
"build": "echo 'Please build manually'",
"buildWasm": "pnpm run generateConfig && pnpm run buildSingle && pnpm run buildWithExeptions",
"buildWasm": "pnpm run generateConfig && pnpm run buildSingle && pnpm run buildWithExceptions",
"updateDocker": "docker pull donalffons/opencascade.js",
"generateConfig": "ytt -f build-source/ --output-files build-config",
"buildSingle": "cd build-config; docker run -it --rm -v $(pwd):/src -u $(id -u):$(id -g) donalffons/opencascade.js custom_build_single.yml && mv replicad_single* ../src; cd -",
Expand Down
Loading

0 comments on commit 2405dfc

Please sign in to comment.