Commit Graph

598 Commits

Author SHA1 Message Date
Lackner, Christopher
074bc99a7c refactor segments <-> edgedescriptor 2026-05-04 18:47:29 +02:00
Christopher Lackner
e96aa9c121 fixes for compatibility with occ 8.0 2026-04-23 16:41:16 +02:00
Matthias Hochsteger
2d5258cf4d Normalize only non-zero vectors (works around issues when parametrization has (near-)zero derivative) 2026-04-22 11:02:15 +02:00
Matthias Hochsteger
0f8df3f85c Respect minh setting in OCC geometry meshing 2026-04-22 11:01:44 +02:00
Matthias Hochsteger
b11c8ee049 Trigger zoomall when new geometry is loaded 2026-04-22 11:00:48 +02:00
Matthias Hochsteger
430270847c Print face number in meshing error 2026-04-22 11:00:20 +02:00
Christopher Lackner
864a10f165 add some docstrings for occ functions 2026-04-10 14:51:42 +02:00
Matthias Hochsteger
f5ca620675 Fix losing camera settings when switching to Geometry view 2026-04-08 15:12:40 +02:00
Matthias Hochsteger
01797a7f89 Fix visualization issues (colors, transparency) 2026-04-08 12:25:23 +02:00
Christopher Lackner
73fd6726db do not increase precision in wire gap fixing to full geo size
This breaks valid step files if it contains open wires.
2026-02-16 10:52:17 +01:00
Christopher Lackner
a5ce215c75 add shape.CrossSection function 2025-12-16 07:50:31 +01:00
Christopher Lackner
f11141983e extrude sets properties of codim-1 shapes 2025-11-28 10:03:27 +01:00
Christopher Lackner
a9438ce238 also extrude other shapes than faces using MakePrism API 2025-11-11 16:48:52 +01:00
Matthias Hochsteger
3c59b02e8b Fix losing edge shape properties in 2d geometries 2025-10-16 20:54:52 +02:00
Matthias Hochsteger
7dee4e8e22 Pass copy flag to OCCGeometry ctor in python 2025-10-16 20:54:36 +02:00
Matthias Hochsteger
556887be12 Avoid creating empty shape property objects 2025-10-16 20:54:21 +02:00
Schöberl, Joachim
ceedd8ae1a Merge branch 'maxh_argument_occ_arc' into 'master'
add maxh argument to Arc (similar to name argument)

See merge request ngsolve/netgen!715
2025-09-15 12:22:56 +02:00
Christopher Lackner
a3266bad1a consistently set properties on highest order subshapes.
and to not allow to query them on compound/shell/wires
2025-09-10 08:44:31 +02:00
Christopher Lackner
70b96260ed add maxh argument to Arc (similar to name argument) 2025-09-08 13:04:42 +02:00
Schöberl, Joachim
3fadd39f6b Merge branch 'occ_sew' into 'master'
export occ sew operation

See merge request ngsolve/netgen!714
2025-09-02 22:43:58 +02:00
Christopher Lackner
2c90b70355 export occ sew operation
This operation is different from glue as it assumes the faces are
forming a shell and do not have to be intersected. But edges can be
different topologically. So I think a nice addition to have.
2025-09-02 17:33:08 +02:00
Christopher Lackner
d2c19ee291 query shells from topods shape, and allow setting name for spline 2025-09-02 17:31:45 +02:00
Christopher Lackner
6a58cbe7fa (rational) Bezier surface in netgen.occ 2025-08-06 08:34:59 +02:00
Christopher Lackner
38f6b92667 allow passing meshingparameters to TopoDS_Shape.GenerateMesh 2025-08-04 09:15:42 +02:00
Christopher Lackner
0783c6c51e add getitem to occ gp_Dir 2025-08-01 15:37:04 +02:00
Matthias Hochsteger
fea644aeb7 OCC - Edge and Face Extend member function 2025-07-07 14:32:40 +02:00
Christopher Lackner
0631b0f94c add geometry register (initialization order) 2025-06-24 16:22:58 +02:00
Christopher Lackner
4bfc36a2dc TopoDS_Shape.GenerateMesh function 2025-06-08 20:24:30 +02:00
Christopher Lackner
964a154a08 matching edge and face discretization for webgpu rendering 2025-06-04 07:42:42 +02:00
Christopher Lackner
1536a3b933 fix occ macro version check 2025-06-03 14:06:28 +02:00
Christopher Lackner
f887c60bde add SetTolerance to shape 2025-05-22 13:57:46 +02:00
Christopher Lackner
e266059109 fix occ version check macro 2025-05-19 16:40:42 +02:00
Christopher Lackner
558f6815ec allow set color = None occ shapes, set shape itself, not children 2025-05-15 10:44:56 +02:00
Christopher Lackner
299fdbafdf occ version test for v8.0 2025-05-15 10:44:36 +02:00
Christopher Lackner
767dd996e8 allow limiting of shape tolerances 2025-05-12 11:17:00 +02:00
Matthias Hochsteger
1fc382867d Fix segfault in occ (use Handle when creating new Geom_Plane) 2025-04-15 18:39:20 +02:00
Christopher Lackner
36cbd5fc00 add ellipse to occ workplane 2025-04-14 17:48:18 +02:00
Christopher Lackner
3a9060fc2f fix occ Ellipse function 2025-04-14 17:04:33 +02:00
Christopher Lackner
1db8ea3500 also different BRepTools::Write on occ lower than 7.6 2025-04-14 09:12:08 +02:00
Christopher Lackner
b05c32675b check for binary output for older occ versions 2025-04-14 08:34:59 +02:00
Christopher Lackner
5a66cbee72 allow writing brep in different versions and binary 2025-04-04 08:54:32 +02:00
Christopher Lackner
788c782455 OCCGeometry properties to query subshapes in netgen-order 2025-03-31 09:16:44 +02:00
Christopher Lackner
97f869207e fix colors from step read if they are set on solid for subshapes 2025-03-19 08:58:49 +01:00
Christopher Lackner
8cde49627b remove debug cout 2025-03-17 11:23:40 +01:00
Christopher Lackner
36c9201ffc add From_PyOCC function to convert swig pyocc shape to netgen.occ 2025-03-17 11:20:19 +01:00
Christopher Lackner
8478ff5078 add edges to occ visualization data 2025-03-16 09:31:06 +01:00
Christopher Lackner
714158e928 fix and improve occ visualizationdata function 2025-03-15 04:34:16 +01:00
Christopher Lackner
9399f753c4 allow list of profiles in PipeShell 2025-03-14 11:36:00 +01:00
Christopher Lackner
cf6c702d2c fix archive of identifications that point to shapes that are not in geometrz 2025-01-29 16:19:19 +01:00
Matthias Hochsteger
49ecbd55ee OCC - use relative tolerances when building OCC incremental mesh 2025-01-28 15:15:11 +01:00