mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
fix geom2d/stl init
This commit is contained in:
parent
8ac965d707
commit
84b91027a0
@ -91,10 +91,10 @@ catch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if { [catch { load libgeom2dvis[info sharedlibextension] Ng_Geom2d } result ] } {
|
# if { [catch { load libgeom2dvis[info sharedlibextension] Ng_Geom2d } result ] } {
|
||||||
# puts "cannot load 2d meshing module"
|
# puts "cannot load 2d meshing module"
|
||||||
# puts "error: $result"
|
# puts "error: $result"
|
||||||
}
|
# }
|
||||||
|
|
||||||
catch { source ${ngdir}/csgeom.tcl }
|
catch { source ${ngdir}/csgeom.tcl }
|
||||||
catch { source ${ngdir}/stlgeom.tcl }
|
catch { source ${ngdir}/stlgeom.tcl }
|
||||||
|
@ -3159,8 +3159,8 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
|
|||||||
extern "C" int Ng_CSG_Init (Tcl_Interp * interp);
|
extern "C" int Ng_CSG_Init (Tcl_Interp * interp);
|
||||||
|
|
||||||
extern "C" int Ng_stl_Init (Tcl_Interp * interp);
|
extern "C" int Ng_stl_Init (Tcl_Interp * interp);
|
||||||
#ifdef _MSC_VER
|
|
||||||
extern "C" int Ng_geom2d_Init (Tcl_Interp * interp);
|
extern "C" int Ng_geom2d_Init (Tcl_Interp * interp);
|
||||||
|
#ifdef _MSC_VER
|
||||||
#ifdef OCCGEOMETRY
|
#ifdef OCCGEOMETRY
|
||||||
extern "C" int Ng_occ_Init (Tcl_Interp * interp);
|
extern "C" int Ng_occ_Init (Tcl_Interp * interp);
|
||||||
#endif
|
#endif
|
||||||
@ -3183,8 +3183,8 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
|
|||||||
|
|
||||||
Ng_CSG_Init(interp);
|
Ng_CSG_Init(interp);
|
||||||
Ng_stl_Init(interp);
|
Ng_stl_Init(interp);
|
||||||
#ifdef _MSC_VER
|
|
||||||
Ng_geom2d_Init (interp);
|
Ng_geom2d_Init (interp);
|
||||||
|
#ifdef _MSC_VER
|
||||||
#ifdef OCCGEOMETRY
|
#ifdef OCCGEOMETRY
|
||||||
Ng_occ_Init (interp);
|
Ng_occ_Init (interp);
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
if { [catch { load libstlvis[info sharedlibextension] Ng_STL } result ] } {
|
#if { [catch { load libstlvis[info sharedlibextension] Ng_STL } result ] } {
|
||||||
# puts "cannot load stl"
|
# puts "cannot load stl"
|
||||||
# puts "error: $result"
|
# puts "error: $result"
|
||||||
}
|
#}
|
||||||
|
|
||||||
|
|
||||||
.ngmenu.geometry add separator
|
.ngmenu.geometry add separator
|
||||||
|
Loading…
Reference in New Issue
Block a user