Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
I've been playing quite a lot with hatches and, apart from creating a little library from scratch (which I'm attaching to this post... do you think I may pull request it to Master?), I think they work really nice but they still lack of some important parameters:
scale
rotation
line width
fill (true/false): this setting would allow showing only lines or lines + filled shapes present on the svg file
The first 3 points are which I find important because if a pattern doesn't match your needs it would be due to one or a mix of these 3 parameters and regular users don't know how to use Inkscape or similar...
pablogil wrote:I've been playing quite a lot with hatches and, apart from creating a little library from scratch (which I'm attaching to this post... do you think I may pull request it to Master?), I think they work really nice but they still lack of some important parameters:
York and the Draft module are the keepers of the pattern files, but I don't see any reason not to add more. Don't know what Draft does with patterns that aren't 64x64.
Great, I agree that scale and rotation may be easy to add, don't know about line width...
wandererfan wrote:
York and the Draft module are the keepers of the pattern files, but I don't see any reason not to add more. Don't know what Draft does with patterns that aren't 64x64.
wf
All my patterns are 64x64, it was just a way to rename them so that you can understand that lower numbers (32, 16, 08) produce smaller patterns...
Thanks for the work on this, seems much easier to use than the Drawing module!
One question though: I'd quite like to be able to get perspective views as well. Does TechDraw use an underlying library of some sort for generating the image? If that code has the ability to give perspective views I might invest a bit of time to see if I can get that working.
Brutha wrote:One question though: I'd quite like to be able to get perspective views as well. Does TechDraw use an underlying library of some sort for generating the image? If that code has the ability to give perspective views I might invest a bit of time to see if I can get that working.
We use OpenCascade (also OCC,OCE) to project the view and remove the hidden lines.
I'm not sure you could describe me as a proper coder..... Although many years ago I contributed an almost infinitesimally small amount of code to Blender!
But I may have a bit of time to myself during August, and this seems like it might be doable.