Matthias Hochsteger
b8aa568626
Utility function to generate OCC shape triangulation -> always use same parameters
2024-02-29 17:19:47 +01:00
Joachim Schoeberl
4ff7a2261b
use IMeshTools in SetLocalMeshSize
2024-02-21 21:42:34 +01:00
Joachim Schoeberl
a65e61c95e
OCC generation of visualization mesh using IMeshTools_Parameters
2024-02-21 20:00:59 +01:00
Joachim Schoeberl
b959676534
check for infinite shape
2024-02-21 15:14:33 +01:00
Christopher Lackner
ddc50aa651
throw exception if surface triangulation cannot be built by occ
2024-02-13 09:33:12 +01:00
Joachim Schoeberl
97de13cf30
remove include<windows.h> from cpp-files
2024-02-10 20:55:45 +01:00
Joachim Schoeberl
3a2e3fa901
includes in vsocc
2024-02-10 10:15:11 +01:00
Joachim Schoeberl
61f34fc4ad
converting back: no win include in python-occ
2024-02-10 10:02:55 +01:00
Joachim Schoeberl
7d45d47260
no extra win include
2024-02-10 09:57:37 +01:00
Joachim Schoeberl
beed254a7d
windows include in python_occ
2024-02-10 09:51:19 +01:00
Joachim Schoeberl
97709fca23
windows include in python_occ_shapes
2024-02-10 09:46:53 +01:00
Christopher Lackner
000424f001
offset should always be called no a finished line
2024-02-08 15:08:49 +01:00
Christopher Lackner
0fab0ec1eb
dont reverse wire in offset
...
This works with this change:
```
MoveTo(0,0).LineTo(1,1).Finish().Offset(0.2).Face()
```
2024-02-08 14:57:56 +01:00
Matthias Hochsteger
6533663b7f
Fix Workplane.Offset for straight lines
2024-01-30 17:41:46 +01:00
Matthias Hochsteger
2024a67c74
occ shapes _webgui_data - export color alpha values
...
Also
- don't create ShapeProperties objects for faces with default values
- use default name/color from ShapeProperties
2024-01-22 11:00:46 +01:00
Christopher Lackner
48eb4fed07
add tolerance to occ-edge projection
2024-01-10 16:31:05 +01:00
Joachim Schoeberl
87b65fb5ff
remove warnings
2024-01-05 20:07:04 +01:00
Lackner, Christopher
4648ac2768
Merge branch 'occ_arc_name' into 'master'
...
[occ] add name argument to arc in workplane
See merge request ngsolve/netgen!615
2023-12-07 10:23:03 +01:00
Christopher Lackner
5692604ab6
[occ] add name argument to arc in workplane
2023-11-21 11:38:01 +01:00
Matthias Hochsteger
ce8a73750e
Return None if no color is set in shape
2023-11-21 11:26:16 +01:00
Matthias Hochsteger
20fd3af5b4
Fix face orientation in BuildFMap to change the original shape
2023-10-12 16:10:50 +02:00
Hochsteger, Matthias
dad62afcee
Call PropagateProperties in OCCGeometry::HealGeometry()
2023-10-11 17:13:38 +02:00
Christopher Lackner
e2aa646b0e
allow read in of "broken" step files (for manual fixing)
2023-10-09 11:50:18 +02:00
Christopher Lackner
556ec04b8e
add colors for iges input files
2023-10-09 11:30:45 +02:00
Joachim Schoeberl
b013a05dd5
fix unused warning
2023-09-22 14:25:18 +02:00
Matthias Hochsteger
4c21f4f904
Fix meshing of INTERNAL faces with Opencascade
2023-08-16 18:39:49 +02:00
Joachim Schoeberl
e1f7935f0b
fixing warnings
2023-08-05 12:01:01 +02:00
Joachim Schoeberl
a8e41734cf
no warnings
2023-07-31 00:13:56 +02:00
Christopher Lackner
ea32b203d6
remove propagateproperties from makefillet2d
...
properties are propagated anyway and it is crashing with function call
2023-07-08 20:40:25 +02:00
Christopher Lackner
72d8ef4783
[occ] MakeFillet for 2d shapes
2023-07-04 16:27:01 +02:00
Lackner, Christopher
fe770960b6
Merge branch 'restricth_vertices' into 'master'
...
[occ] restrict meshsize at vertices
See merge request ngsolve/netgen!578
2023-06-29 13:19:13 +02:00
Christopher Lackner
0530775800
[occ] restrict meshsize at vertices
2023-06-29 12:23:19 +02:00
Christopher Lackner
143f113d78
separate_layers now also working for 2d occ geometries
2023-06-28 15:59:04 +02:00
Joachim Schoeberl
3ab8ffbdc1
robust Axis to Axes conversion
2023-06-08 16:50:53 +03:00
Joachim Schoeberl
ec9d028c60
ellipsoid
2023-06-08 16:38:34 +03:00
Matthias Hochsteger
3e9eba7906
OCC - Handle internal (forward+reversed) edges correctly
2023-06-05 11:24:52 +02:00
Christopher Lackner
b1b2f17c09
fix clang warning about unqualified std move
2023-05-23 08:57:51 +02:00
Christopher Lackner
8374346023
allow adding identification name in occ extrude
2023-05-22 13:08:31 +02:00
Christopher Lackner
2233275c0b
do not copy faces when extrude, better identify in extrude
2023-05-17 16:24:06 +02:00
Christopher Lackner
e4a2795414
extrude with optional (closesurface) identification
2023-05-17 12:49:16 +02:00
Matthias Hochsteger
bdd15644d3
Fix compile warning
2023-04-26 16:48:29 +02:00
Christopher Lackner
50356b7c5e
fox list of shape constructor in OCCGeometry propagating properties
2023-02-17 08:47:01 +01:00
Schöberl, Joachim
1eb0fdfbb7
Merge branch 'occ_better_divide_edge' into 'master'
...
OCC better divide edge algorithm
See merge request ngsolve/netgen!551
2023-02-13 15:57:53 +01:00
Hochsteger, Matthias
219c2af686
OCC better divide edge algorithm
2023-02-13 15:57:53 +01:00
Christopher Lackner
fafcf555ac
[occ] add additional arguments for MakeThickSolid
2023-02-01 11:03:42 +01:00
Matthias Hochsteger
e64d07aab3
set domain names in revolve
2023-01-26 17:00:18 +01:00
Hochsteger, Matthias
2f4e52594e
Merge branch 'fix_occ_identified_edge_orientation' into 'master'
...
Keep consistent vertex numbering for identified edges
See merge request ngsolve/netgen!547
2023-01-19 12:59:19 +01:00
Christopher Lackner
bb25aa656a
more stable occ parameter space projection
...
occ uv parameters are not very accurate sometimes, therefore new
strategy for finding same uv points in parameter space:
if uv coordinates are closer together than 0.9 * min(seg_length) and
global point numbers are the same -> same uv point
2023-01-16 19:57:48 +01:00
Matthias Hochsteger
e3772bf3af
Keep consistent vertex numbering for identified edges
2023-01-16 17:05:18 +01:00
Matthias Hochsteger
9f2daabc0f
Fix dangling reference in PropagateProperties()
...
Other GetProperties() calls push_back new elements to global_shape_properties
-> memory reallocation
2023-01-12 14:57:31 +01:00