Joachim Schoeberl
a65e61c95e
OCC generation of visualization mesh using IMeshTools_Parameters
2024-02-21 20:00:59 +01:00
Joachim Schoeberl
61f34fc4ad
converting back: no win include in python-occ
2024-02-10 10:02:55 +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
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
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
Christopher Lackner
143f113d78
separate_layers now also working for 2d occ geometries
2023-06-28 15:59:04 +02:00
Joachim Schoeberl
ec9d028c60
ellipsoid
2023-06-08 16:38:34 +03: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
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
Matthias Rambausek
bda7ea5ac1
handle case of WP.wires being empty
2022-12-20 12:14:55 +01:00
Christopher Lackner
d3a393a727
fixes for identifications not using maps, python maps also don't use hash
2022-12-09 13:10:17 +01:00
Christopher Lackner
0aa20603d9
remove all std::maps<TopoDS_Shape, *> and std::set<TopoDS_Shape>
...
since hash conflicts may occur this is not safe.
2022-12-06 17:51:19 +01:00
Matthias Hochsteger
85b909ef21
TopoDS_Shape.center - call utility function instead of separate(and incomplete) implementation
2022-10-06 14:50:23 +02:00
luz paz
3230021dec
Fix typos
...
Found via `codespell`
2022-09-08 11:08:25 -04:00
Christopher Lackner
e05b8960d7
if list with 1 element in glue -> return that element
...
else opencascade returns empty shape
2022-09-01 15:10:14 +02:00
Christopher Lackner
b7e0288a34
use Shape hash instead of TShape
2022-08-19 12:51:39 +02:00
Christopher Lackner
28efccccf4
faces may be multiple time in explorer iteration -> skip if already in map
2022-08-19 09:44:58 +02:00
Christopher Lackner
27aaae9fb5
add solid -> faces map in renderData of occ geom
2022-08-10 07:45:30 +02:00
Christopher Lackner
06f35594c6
add norm of gp_Vec
2022-06-13 10:35:26 +02:00
Christopher Lackner
3531f9c9d4
fix typo
2022-06-08 20:59:06 +02:00
Christopher Lackner
03e21d5c5f
[occ] create ListOfShape from list of shapes
2022-06-08 20:52:51 +02:00
Schöberl, Joachim
1a174508db
Merge branch 'occ_consistent_maxh' into 'master'
...
make shape.solids.maxh = ... consistent with solid.maxh = ...
See merge request ngsolve/netgen!503
2022-05-07 15:10:57 +02:00
Christopher Lackner
456cb927d1
make shape.solids.maxh = ... consistent with solid.maxh = ...
2022-05-05 18:09:42 +02:00
Christopher Lackner
a04b7b5d5d
__ge__ and __le__ operator for DirectionalInterval
2022-05-05 17:32:25 +02:00
Julius Zimmermann
4df5ed1536
denser syntax in occ file
2022-04-21 10:26:27 +02:00
Julius Zimmermann
6e18260ef7
Merge branch 'master' of github.com:j-zimmermann/netgen
2022-04-20 14:49:32 +02:00
Julius Zimmermann
ae28716366
add cone
2022-04-20 14:49:22 +02:00
Julius Zimmermann
718c876fa7
correct computation of shapes
2022-04-20 00:08:54 +02:00
Joachim Schoeberl
e5056dcd57
output control
2022-04-02 10:37:26 +02:00
Christopher Lackner
046443259e
[occ] gp_GTrsf for anisotropic trafos
2022-03-28 18:34:22 +00:00
Matthias Hochsteger
132261ec4d
Merge remote-tracking branch 'StefanBruens/fix_switch_enum'
2022-03-28 18:29:32 +02:00
luz paz
4033fac1b3
Fix various typos
...
Found via `codespell -q 3 -S ./external_dependencies/pybind11 -L alledges,allright,ane,anormal,ans,apoints,ba,boxs,cancle,childs,co-ordinate,co-ordinates,daty,enty,filld,hel,identifyable,ist,linz,lod,ned,nd,selt,statics,suround,thev,thist,thisy,timere,upto,wel`
2022-03-25 18:22:05 -04:00
Christopher Lackner
c822caafe7
[occ] create solid from faces
...
Needs shape consisting of topologically closed faces, for example from
Solid(Glue(list_of_faces))`
2022-03-17 11:58:11 +01:00
mhochsteger@cerbsim.com
154302605f
separate localh trees for different layers
...
currenlty used in OCC geometries generated with
shape = netgen.occ.Compound(list_of_shapes, separate_layers=True)
2022-03-10 19:04:46 +01:00
mhochsteger@cerbsim.com
4e8fe77098
fix some warnings
2022-03-02 14:14:38 +01:00