Comments (10)
ShapeColor is implemented as a custom attribute. There should be no issue. But of course that doesn't mean there isn't.
Please include simple steps to reproduce as I'm not familiar with the workbench
from freecad_sheetmetal.
I'm not sure if related to Material but it worked with the last weekly build before the Material merge.
Just select any edge or point and try any commands, no feature is working.
You can create a base shape with the right button and select another edge and click e.g. bend:
from freecad_sheetmetal.
if shapeColor no longer available it will break Fasteners as well.
Isn't it backward compatible?
from freecad_sheetmetal.
With a quick test, Fasteners WB works as usual. Maybe there was another change introduced?
from freecad_sheetmetal.
@maxwxyz Do you have the latest version?
In the latest version (as of yesterday) I added an option to set custom default color for fasteners in the preferences.
from freecad_sheetmetal.
@shaise you are right, I was using 0.5.15.
But also adding or moving fasterners with the 0.5.16 works fine.
The default color seems to have no effect though, or does it need a restart?
Edit: Also with a restart the default color setting in the preferences has no effect. But there are no errors. Maybe there could be an option to set the default material instead? But it obviously shouldn't break it for users on the stable 0.21.2.
from freecad_sheetmetal.
I understand why it has no effect. it just sets the diffuse color attrib, but this attrib has no meaning anymore. This is not good.
It should be backward compatible.
Regarding sheetmetal, I will try a new approach and let you know.
from freecad_sheetmetal.
Hi @maxwxyz ,
The feature that was broken is the material preservation system. This means that if you change the color of a sheetmetal part, each time you add a new bend or other sheetmetal feature, the color will be preserved and not revert to gray.
I have changed the preservation system to be more robust and it now works both on new and old builds.
Please try and let me know.
However what I don't like is that in the new builds there is no way to change the color of a part without setting a new material. Even setting "Random Color" which I use a lot has no effect!
This is probably why fasteners default color no longer works.
shai
from freecad_sheetmetal.
The SM features work now! But I cannot set a Material or ShapeColor to the body
from freecad_sheetmetal.
But this seems to be the issue with FreeCAD/FreeCAD#13344 I can apply a Material to a specific SM feature, e.g. a Bend
And for RandomColor there seems to be a PR which fixes this: FreeCAD/FreeCAD#13332
from freecad_sheetmetal.
Related Issues (20)
- Error in "make wall" HOT 24
- radius in "Add base shape" HOT 1
- Translation on enumeration breaks Base Shape
- LCS in "Add base shape" HOT 15
- DWG Review: Create Unfold Task Panel
- DWG Review: Create Base Shape Panel HOT 8
- DWG Review: Create Stamp Task Panel HOT 3
- DWG Review: Create Relief Task Panel HOT 2
- DWG Review: Create Bend on line panel
- DWG Review: Create Extend panel
- DWG Review: Create Flange Panel HOT 3
- DWG Review: Rename 'cutout tool HOT 3
- DWG Review: Create Base Shape Panel HOT 1
- DWG Review: Proposed 'container' workflow HOT 1
- FOLD A WALL Position = "intersection of planes" HOT 30
- object has no attribute 'Object' HOT 4
- Problem adding italian translation HOT 1
- Fold a Wall ===> Redundant "icons" enabled and working HOT 5
- Bend: Invalid subelement name HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freecad_sheetmetal.