Skip to content

Instantly share code, notes, and snippets.

@ipatch
Last active September 6, 2023 20:21
Show Gist options
  • Save ipatch/6116824ab1f2a99b526cb07e43317b91 to your computer and use it in GitHub Desktop.
Save ipatch/6116824ab1f2a99b526cb07e43317b91 to your computer and use it in GitHub Desktop.
FREECAD & friends
@ipatch
Copy link
Author

ipatch commented Aug 4, 2020

freecad weird toolbar behavior

@ipatch
Copy link
Author

ipatch commented Aug 28, 2020

image

@ipatch
Copy link
Author

ipatch commented Nov 8, 2020

freecad compile revision num 14555

@ipatch
Copy link
Author

ipatch commented Nov 10, 2020

Screen Shot 2020-11-10 at 10 53 05 AM

@ipatch
Copy link
Author

ipatch commented Nov 27, 2020

image

@ipatch
Copy link
Author

ipatch commented Nov 27, 2020

image

@ipatch
Copy link
Author

ipatch commented Dec 23, 2020

pyside launch issues,

During initialization the error "No module named 'PySide'" occurred in /usr/local/Cellar/freecad-dev/HEAD-d89cd95/Mod/Draft/InitGui.py
Please look into the log file for further information
During initialization the error "No module named 'PySide'" occurred in /usr/local/Cellar/freecad-dev/HEAD-d89cd95/Mod/Arch/InitGui.py
Please look into the log file for further information
During initialization the error "No module named 'PySide'" occurred in /usr/local/Cellar/freecad-dev/HEAD-d89cd95/Mod/AddonManager/InitGui.py
Please look into the log file for further information
During initialization the error "No module named 'PySide'" occurred in /usr/local/Cellar/freecad-dev/HEAD-d89cd95/Mod/Tux/InitGui.py
Please look into the log file for further information
During initialization the error "No module named 'PySide'" occurred in /opt/code/dotfiles/jobs/macOS/Users/mr-fancy/Library/Preferences/FreeCAD/Mod/Defeaturing_WB/InitGui.py
Please look into the log file for further information
'BasicShapes' package cannot be loaded. No module named 'PySide'
'CompoundTools' package cannot be loaded. No module named 'PySide'
'BOPTools' package cannot be loaded. No module named 'PySide'
Unknown command 'Part_Tube'
Unknown command 'Std_AddonMgr'
Unknown command 'Part_Tube'
Unknown command 'Part_JoinConnect'
Unknown command 'Part_JoinEmbed'
Unknown command 'Part_JoinCutout'
Unknown command 'Part_BooleanFragments'
Unknown command 'Part_SliceApart'
Unknown command 'Part_Slice'
Unknown command 'Part_XOR'
Unknown command 'Part_ExplodeCompound'
Unknown command 'Part_CompoundFilter'
The mesh data structure has some defects
Unknown command 'Std_AddonMgr'
No module named 'PySide'Error: Initializing one or more of the Draft modules failed, Draft will not work as expected.
No module named 'PySide'
Traceback (most recent call last):
  File "<string>", line 94, in Initialize
  File "/usr/local/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 146, in _import
  return original_import(name, *args, **kwargs)
  File "/usr/local/Cellar/freecad-dev/HEAD-d89cd95/Mod/Draft/draftutils/init_tools.py", line 36, in <module>
    from PySide.QtCore import QT_TRANSLATE_NOOP
  File "/usr/local/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 146, in _import
    return original_import(name, *args, **kwargs)

@ipatch
Copy link
Author

ipatch commented Dec 23, 2020

pyside launch issue / gfx

fc issue pyside

@ipatch
Copy link
Author

ipatch commented Dec 29, 2020

leo-salute

@ipatch
Copy link
Author

ipatch commented Dec 30, 2020

Building FreeCAD on macOS Issues & Errors Expanded, December 28 2020

Boost v1.75 linking issues circa December 28 2020

  • due to the recent updates in Boost v1.75 certain programs will fail to link using boost v1.75 provided by homebrew. there is active discussion / question on stackoverflow here. There is a PR that has been submitted to homebrew-core to fix the linking issues here. Until gets merged upstream manually editing the brew formula file will be required.

The easiest and most non destructive way to install the PR / fix is to create a new branch for homebrew-core, pull in the changes for the PR, and build boost from source. I pushed the changes to my local fork of homebrew-core here

Exhaustive linking error message
[  1%] Linking CXX shared library ../../../lib/libSMESHDS.dylib
cd /opt/code/github/public/forks/FreeCAD/build/src/3rdParty/salomesmesh && /usr/local/Cellar/cmake/3.19.2/bin/cmake -E cmake_link_script CMakeFiles/SMESHDS.dir/link.txt --verbose=1
/Applications/Xcode.11.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++   -Wall -Wextra -Wpedantic -Wno-write-strings  -Wno-undefined-var-template -Wno-self-assign -Wno-sign-compare -Wno-logical-op-parentheses -Wno-reorder -Wno-switch -Wno-switch-enum -Wno-unknown-pragmas -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-sometimes-uninitialized -Wno-overloaded-virtual -Wno-dynamic-class-memaccess -Wno-comment -Wno-unused-parameter -Wno-extra-semi -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.14 -dynamiclib -Wl,-headerpad_max_install_names  -Wl,-undefined,error -o ../../../lib/libSMESHDS.dylib -install_name @rpath/libSMESHDS.dylib CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Command.cpp.o CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Document.cpp.o CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Group.cpp.o CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupBase.cpp.o CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupOnFilter.cpp.o CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupOnGeom.cpp.o CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Hypothesis.cpp.o CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Script.cpp.o CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_SubMesh.cpp.o   -L/usr/local/Cellar/open-mpi/4.0.5/lib  -L/usr/local/opt/libevent/lib  -L/usr/local/lib  -Wl,-rpath,/usr/local/Cellar/open-mpi/4.0.5/lib -Wl,-rpath,/usr/local/opt/libevent/lib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/opt/code/github/public/forks/FreeCAD/build/lib -Wl,-rpath,/usr/local/opt/nglib/Contents/MacOS -lmpi ../../../lib/libSMDS.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_program_options-mt.dylib /usr/local/lib/libboost_regex-mt.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_thread-mt.dylib -lmpi /usr/local/opt/nglib/Contents/MacOS/libnglib.dylib /usr/local/opt/nglib/Contents/MacOS/libinterface.dylib /usr/local/opt/nglib/Contents/MacOS/libgeom2d.so /usr/local/opt/nglib/Contents/MacOS/libcsg.so /usr/local/opt/nglib/Contents/MacOS/libstl.dylib /usr/local/opt/nglib/Contents/MacOS/libmesh.so /usr/local/opt/nglib/Contents/MacOS/libvisual.dylib /usr/local/opt/nglib/Contents/MacOS/libocc.dylib /usr/local/opt/nglib/Contents/MacOS/libngcore.dylib /usr/local/lib/libTKSTL.7.5.0.dylib /usr/local/lib/libTKOffset.7.5.0.dylib /usr/local/lib/libTKFillet.7.5.0.dylib /usr/local/lib/libTKFeat.7.5.0.dylib /usr/local/lib/libTKBin.7.5.0.dylib /usr/local/lib/libTKBinL.7.5.0.dylib /usr/local/lib/libTKXDESTEP.7.5.0.dylib /usr/local/lib/libTKSTEP.7.5.0.dylib /usr/local/lib/libTKSTEPAttr.7.5.0.dylib /usr/local/lib/libTKSTEP209.7.5.0.dylib /usr/local/lib/libTKSTEPBase.7.5.0.dylib /usr/local/lib/libTKXDEIGES.7.5.0.dylib /usr/local/lib/libTKIGES.7.5.0.dylib /usr/local/lib/libTKBool.7.5.0.dylib /usr/local/lib/libTKXSBase.7.5.0.dylib /usr/local/lib/libTKMeshVS.7.5.0.dylib /usr/local/lib/libTKRWMesh.7.5.0.dylib /usr/local/lib/libTKXCAF.7.5.0.dylib /usr/local/lib/libTKVCAF.7.5.0.dylib /usr/local/lib/libTKCAF.7.5.0.dylib /usr/local/lib/libTKBO.7.5.0.dylib /usr/local/lib/libTKPrim.7.5.0.dylib /usr/local/lib/libTKLCAF.7.5.0.dylib /usr/local/lib/libTKCDF.7.5.0.dylib /usr/local/lib/libTKV3d.7.5.0.dylib /usr/local/lib/libTKMesh.7.5.0.dylib /usr/local/lib/libTKShHealing.7.5.0.dylib /usr/local/lib/libTKHLR.7.5.0.dylib /usr/local/lib/libTKTopAlgo.7.5.0.dylib /usr/local/lib/libTKGeomAlgo.7.5.0.dylib /usr/local/lib/libTKBRep.7.5.0.dylib /usr/local/lib/libTKGeomBase.7.5.0.dylib /usr/local/lib/libTKG3d.7.5.0.dylib /usr/local/lib/libTKG2d.7.5.0.dylib /usr/local/lib/libTKService.7.5.0.dylib /usr/local/lib/libTKMath.7.5.0.dylib /usr/local/lib/libTKernel.7.5.0.dylib -lobjc -framework AppKit -framework IOKit /usr/local/opt/freeimage/lib/libfreeimage.dylib /usr/local/opt/tbb/lib/libtbb.dylib /usr/local/opt/tbb/lib/libtbbmalloc.dylib -framework OpenGL /usr/local/opt/freetype/lib/libfreetype.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkFiltersVerdict-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkverdict-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkIOXML-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkIOXMLParser-8.2.1.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libexpat.tbd /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkIOLegacy-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkIOCore-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkdoubleconversion-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtklz4-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtklzma-8.2.1.dylib /usr/local/lib/libhdf5.dylib /usr/local/lib/libsz.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libdl.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libm.tbd /usr/local/lib/libhdf5_hl.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkInteractionStyle-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkFiltersExtraction-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkFiltersStatistics-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkImagingFourier-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkImagingCore-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkRenderingFreeType-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkfreetype-8.2.1.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libz.tbd -framework ApplicationServices -framework CoreServices /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkRenderingOpenGL2-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkRenderingCore-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkFiltersSources-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkFiltersGeneral-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkCommonComputationalGeometry-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkFiltersGeometry-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkFiltersCore-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkCommonExecutionModel-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkCommonColor-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkCommonDataModel-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkCommonMisc-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkCommonSystem-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkCommonTransforms-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkCommonMath-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkCommonCore-8.2.1.dylib /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtksys-8.2.1.dylib -framework Cocoa /usr/local/Cellar/[email protected]/8.2.0_1/lib/libvtkglew-8.2.1.dylib -licudata -licui18n -licuuc
ld: library not found for -licudata
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libSMESHDS.dylib] Error 1
make[1]: *** [src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/all] Error 2
make: *** [all] Error 2

@ipatch
Copy link
Author

ipatch commented Apr 22, 2021

screengrab freecad navicube prefs

@ipatch
Copy link
Author

ipatch commented Apr 26, 2021

image

@ipatch
Copy link
Author

ipatch commented May 27, 2021

image

@ipatch
Copy link
Author

ipatch commented Jun 2, 2021

fc.arch.draft.trimmed.mp4

@sourboyrich
Copy link

No adjustment option in the preferences showing up.

@ipatch
Copy link
Author

ipatch commented Sep 6, 2023

freecad windows7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment