Questions tagged [opencascade]
The opencascade tag has no summary.
54 questions
6
votes
3
answers
332
views
How can I get the chamfer of the 3D font and make a BoundaryMeshRegion?
The desire font as in the document which could be found by FindShortestCurve -> Scope -> Mesh Region -> the last example
https://reference.wolfram.com/language/ref/FindShortestCurve.html#...
3
votes
1
answer
132
views
Problem with IncludePoints in ToElement Mesh
In a finite element code I whish to use "IncludePoints" in ToElementMesh and I get a failure. Here is a minimum ...
2
votes
0
answers
182
views
The OpenCascadeShapeLinearSweep seems could not sweep the polygon from one point to another point
When we set direction = {{0,0,0}, {0,0,3}};, we could moving the polygon along the direction {0,0,1} and the polygon moving from ...
1
vote
1
answer
138
views
RegionUnion Volume returns undefined
I am trying to calculate the volume of a structure made by RegionUnion. Here is the structure
...
6
votes
1
answer
574
views
How can I color a cylinder inside a sphere?
I am trying to draw a figure and color it like this from here:
I tried
CSGRegion["Difference", {Ball[{0, 0, 0}, 5], Cylinder[{{0, 0, -5}, {0, 0, 5}}, 2]}]
...
106
votes
17
answers
7k
views
Future enhancements for the finite element method
How should the finite element method (FEM) framework in the language be extended to be more useful?
With the release of version 12.0 all fundamental FEM solvers (linear, nonlinear, stationary, ...
10
votes
1
answer
384
views
Kernel crash during RegionDifference of complex 3D meshes + BoundaryMeshRegion::bsuncl error
I'm modeling a screw rotor with cavities (for CAD/CFD analysis). The workflow involves:
Generating the rotor body from 5 parametric surfaces.
Creating cavity profiles from 4 extruded segments.
...
6
votes
1
answer
681
views
How can I draw Union of two cylinders like this?
I am trying to draw this picture
I tried
CSGRegion["Union", {Cylinder[{{-50, 0, 0}, {50, 0, 0}}, 20], Cylinder[{{0, -50, 0}, {0, 50, 0}}, 20]}]
17
votes
3
answers
764
views
How can we dice a parametric surface?
A few days ago I asked how to slice three-dimensional surfaces:
How can we produce sliceforms?
The three outstanding answers make me believe that dicing parametric surfaces should also be possible. ...
0
votes
1
answer
128
views
Why can't OpenCascadeLink dll be loaded?
I am running MMA 14.2.1.0 on Win 11. Needs["OpenCascadeLink`"] executes. But when I try to use OpenCascadeShapeImport I get this error:
LibraryFunction::load: The library C:\Program Files\...
5
votes
4
answers
958
views
How to use Mathematica to plot following helix solid geometry?
So, can you provide a method to plot this geometry in mathematica? It is soild instead of a surface. I need it to be printed out from mathematica as stl. document.
I have tried with Code "...
5
votes
1
answer
189
views
*.STL files from using IMPORT command are not passing SolidRegionQ test
My goal is to create models in CAD or similar software and importing into MMA for analysis. I have created *.STL files using Blender, FREECAD, GMSH, etc.. none of them pass the SolidRegionQ test to ...
6
votes
1
answer
317
views
Continuously vary tube radius of parametricPlot3D depending on distance from origin
I'm doing a project trying to 3D print the stereographic projections of 4D shapes, and I need it so that the lines are thinner towards the origin for structural reasons. I've written functions to do ...
4
votes
1
answer
190
views
Surgical fixation plate - OPEN CASCADE LINK EXAMPLE - appears to have problem with edges and wires
I am new to MMA and best way to learn is plow though examples ! I copied all the executable lines from the OPEN CASADE LINK example for Surgical fixation plate.
https://reference.wolfram.com/language/...
4
votes
1
answer
190
views
OpenCascadeShape does not appear to work for sphere object - no wire mesh formed
I tried a simple example using OpenCascadeShape, and BALL works as an option, but sphere does not - I get an error -
OpenCascadeShapeSurfaceMeshToBoundaryMesh[OpenCascadeShape[Sphere[{1,
2,3},10]]] is ...