Commit Graph

3592 Commits

Author SHA1 Message Date
Matthias Rambausek
88bb6ec6af add some functions to access WorkPlane data and the possibility to create splines from any starting point 2021-12-27 16:10:37 +01:00
Matthias Rambausek
6656181e2b work om WP Spline: detect closing similar to ArcTo and LineTo, remove "name" arg 2021-12-22 16:21:24 +01:00
Matthias Rambausek
fdf26641dd fixed exception 2021-12-06 16:28:02 +01:00
Matthias Rambausek
9f83730fb5 add a check on first point given to WP::Spline; more precise docs 2021-12-06 15:26:57 +01:00
Matthias Rambausek
31fa22626c Split 2d and 3d spline implementations, use tangent data; added Spline member to WorkPlane 2021-12-03 11:55:02 +01:00
Matthias Rambausek
193a7001e4 added 2d spline interpolation but not added to workplane yet 2021-12-02 17:39:11 +01:00
Matthias Rambausek
a5aed39f9d SplineInterpolation now works; refined some docstrings 2021-12-02 16:52:38 +01:00
Matthias Rambausek
f2c6a0f8c0 extended wrappers for spline approximation; enable spline surface interpolation 2021-11-22 15:23:34 +01:00
Matthias Hochsteger
74192981cf Merge branch 'fix_short_mesh_filenames' into 'master'
Fix loading of short mesh file names

See merge request jschoeberl/netgen!452
2021-11-18 08:24:37 +00:00
Christopher Lackner
3c4fe43fcc Fix loading of short mesh file names 2021-11-18 08:48:09 +01:00
Joachim Schöberl
9477fb0321 Merge branch 'save_occ_to_mesh' into 'master'
Save OCCGeometry in mesh file using TextOutArchive

See merge request jschoeberl/netgen!450
2021-11-12 13:15:50 +00:00
mhochsteger@cerbsim.com
8c9cdfbc34 store netgen version, introduce "format_version" for future changes 2021-11-12 12:55:01 +01:00
mhochsteger@cerbsim.com
36f22a13ce also save occ identifications in mesh file attachment 2021-11-12 12:54:58 +01:00
mhochsteger@cerbsim.com
e0afa0a916 Use TextOutArchive to store OCCGeometry in mesh files 2021-11-11 10:04:39 +01:00
mhochsteger@cerbsim.com
17458889aa Change interface of LoadFromMeshFile
Fetch the first (geometry identification) token only once (and not on each try to load a different type)
2021-11-10 18:37:24 +01:00
mhochsteger@cerbsim.com
4d7ef21791 proper DoArchive for OCCGeometry 2021-11-10 18:37:24 +01:00
mhochsteger@cerbsim.com
b63baa57be ShapeProperties::DoArchive() 2021-11-10 18:37:21 +01:00
mhochsteger@cerbsim.com
f95332d0a1 archive optional<T> 2021-11-10 18:36:55 +01:00
Joachim Schoeberl
2724317985 remove output 2021-11-09 17:41:13 +01:00
mhochsteger@cerbsim.com
205e2c91aa arguments for dummy redraw 2021-11-09 09:39:13 +01:00
mhochsteger@cerbsim.com
ea2b25f2e6 dummy Redraw without GUI 2021-11-09 09:38:36 +01:00
mhochsteger@cerbsim.com
81c1d46db0 fix python import of non-gui builds 2021-11-09 09:15:55 +01:00
mhochsteger@cerbsim.com
ffdb9378b5 fix import error on some ubuntu/python versions 2021-11-09 08:43:29 +01:00
mhochsteger@cerbsim.com
34cdd4a1d7 build pip avx2 packages 2021-11-08 18:28:36 +01:00
mhochsteger@cerbsim.com
dc4ba34657 special handling of CMAKE_OSX_ARCHITECTURES (may contain ';') 2021-11-08 16:38:47 +01:00
mhochsteger@cerbsim.com
aa7f246c2e fix cmake output handling 2021-11-08 15:52:52 +01:00
mhochsteger@cerbsim.com
35e5905cca Don't build stub files for pip 2021-11-08 15:49:17 +01:00
mhochsteger@cerbsim.com
543d1a378a no tk event handling when starting netgen.__main__ 2021-11-08 13:59:59 +01:00
mhochsteger@cerbsim.com
0d4028ea7a cmake - strip version string 2021-11-08 11:02:12 +01:00
mhochsteger@cerbsim.com
dc2eb66d43 ci - enable pip 3.9 build on macos 2021-11-08 10:31:27 +01:00
Joachim Schoeberl
478aaf7788 little polish 2021-11-07 00:16:57 +01:00
Joachim Schoeberl
1eca091fd3 fix Enumerate(IndexMap) 2021-11-06 16:14:19 +01:00
Joachim Schoeberl
50398c18c4 simplify edge/face-id types (just an int) 2021-11-06 15:52:35 +01:00
Joachim Schoeberl
6ae645ce33 added IndexMapIterator 2021-11-06 13:15:52 +01:00
Joachim Schoeberl
bd564931f8 strings in FaceDescriptor (instead of ptrs) 2021-11-06 12:22:44 +01:00
Joachim Schoeberl
fdc04b7276 using more range-based loops in occ 2021-11-06 11:51:11 +01:00
Joachim Schoeberl
14f32f73c0 range-based for for TopExp_Explorer 2021-11-06 10:44:01 +01:00
Joachim Schoeberl
64e40a25e0 fixing name for unnamed face (problem after restructuring facenames) 2021-11-06 08:51:36 +01:00
mhochsteger@cerbsim.com
239cdf694f Don't copy occ shape in OCCGeometry ctor by default 2021-11-05 20:26:43 +01:00
mhochsteger@cerbsim.com
0da6aeb94f Link Ws2_32.lib on Windows when building with OCC 2021-11-05 19:55:25 +01:00
mhochsteger@cerbsim.com
b99b107bbc fix for loop range (occ is 1-based) 2021-11-05 19:44:58 +01:00
mhochsteger@cerbsim.com
928cb57448 fix wrong bcname string pointer 2021-11-05 19:07:50 +01:00
Matthias Hochsteger
8efcd93db6 Merge branch 'temp_file_generation' into 'master'
util function GetTempFilename()

See merge request jschoeberl/netgen!446
2021-11-05 16:41:11 +00:00
Joachim Schöberl
dd5499a12e Merge branch 'occ_conn_e_to_w' into 'master'
[occ] connect edges to wires

See merge request jschoeberl/netgen!447
2021-11-05 11:53:18 +00:00
Matthias Hochsteger
b9ffae5c8d Merge branch 'occ_save_identifications' into 'master'
Save occ identifications in step file

See merge request jschoeberl/netgen!448
2021-11-04 21:33:07 +00:00
mhochsteger@cerbsim.com
225312b9d9 Save occ identifications in step file 2021-11-04 21:58:56 +01:00
Christopher Lackner
10e3494de4 [occ] connect edges to wires 2021-11-04 20:43:33 +01:00
mhochsteger@cerbsim.com
d2f8910af2 Show more output during build
- show output in ci-builds only on failure
2021-11-04 14:44:23 +01:00
mhochsteger@cerbsim.com
3910b29b0b also update pip platform on macos to 10.15 2021-11-04 13:03:46 +01:00
mhochsteger@cerbsim.com
b258d7bd65 fix path to string conversion 2021-11-04 13:00:30 +01:00