New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[For 0.18] [Feature request] random color for parts/bodies #1339
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…into randomshapecolor
changeing the line weight for dimensions to a thin line and get the font size for detail view labels from the configuration rather than using a hardcoded value. Also removing a duplicate method, as it is already implemend in the parent class.
…ws 10 On Windows 10, symlink creation is not allowed unless the process runs with elevated rights. As per https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/#joC5tFKhdXs2gGml.97, starting with Windows 10 Insiders build 14972, symlinks can be created without needing to elevate the console as administrator. To use this functionality, 0x2 needs to be set in the flags argument for the CreateSymbolicLinkW() call. See also FreeCAD/FreeCAD-addons@e883847
Self intersected wire may cause a loop, and BRepBuilderAPI_MakeWire may mistakenly consider the wire to be closed. And this makes BrepTools_WireExplorer unhappy and cause it to skip edges. We now use ShapeAnalysis_FreeBounds to connect edges to wires.
…umbering does not start with 1
- painting of the detail highlight in the base view was being delayed until the base view was updated. It is now drawn when detail changes.
Weekly misc. typo fixes
This is a source typo fix. Please review.
Tested against version 0.17
…emoved in future PyCXX versions
/usr/bin/ld.lld: error: undefined symbol: pthread_condattr_init >>> referenced by src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp >>> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o:(boost::condition_variable::condition_variable()) /usr/bin/ld.lld: error: undefined symbol: pthread_condattr_setclock >>> referenced by src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp >>> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o:(boost::condition_variable::condition_variable()) /usr/bin/ld.lld: error: undefined symbol: pthread_condattr_destroy >>> referenced by src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp >>> src/3rdParty/salomesmesh/CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o:(boost::condition_variable::condition_variable())
…re now changeable in prefs->display->colors
Boost >= 1.67 requires a version suffix (on macOS at least)
…into randomshapecolor
merged |
@pgilfernandez perhaps opening a ticket on mantis for this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add new feature for random shapecolors. This can switched on and off in settings dialog.
Please look at: https://forum.freecadweb.org/viewtopic.php?f=8&t=23715