Texture
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Texture
Hi,
I'm interested on this feature and thank you for creating it.
I'm trying to load an image on FreeCAD 0.16 but it shows me an error "Error in reading the file"
the file is a grey scale image converted with the gimp
my system
OS: Ubuntu 15.10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6397 (Git)
Build type: None
Branch: master
Hash: 6763d3a6e48b6f74d48bca593baa8773897c7220
Python version: 2.7.10
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
thank you
I'm interested on this feature and thank you for creating it.
I'm trying to load an image on FreeCAD 0.16 but it shows me an error "Error in reading the file"
the file is a grey scale image converted with the gimp
my system
OS: Ubuntu 15.10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6397 (Git)
Build type: None
Branch: master
Hash: 6763d3a6e48b6f74d48bca593baa8773897c7220
Python version: 2.7.10
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
thank you
Re: Texture
Hello TurBoss! Welcome to FreeCAD and the forumTurBoss wrote:I'm trying to load an image on FreeCAD 0.16 but it shows me an error "Error in reading the file"
Can you share the file, or one that shows the same behaviour?
Thanks for posting your "About FreeCAD" info, this gives a good baseline to work from
"fight the good fight"
Re: Texture
Hi,
here is the picture converted with the Gimp and Imagemagick
oh too bad seems that bmp is not allowed for attachments
the imagemagick converted one : http://i.imgur.com/jPAwcc9.png
the gimp converted one : http://i.imgur.com/krx99oN.png
source wikipedia
Edit: They where bmp Imgur converted it on the fly
Edit2: original file : https://en.wikipedia.org/wiki/File:Gray ... _image.png
here is the picture converted with the Gimp and Imagemagick
oh too bad seems that bmp is not allowed for attachments
the imagemagick converted one : http://i.imgur.com/jPAwcc9.png
the gimp converted one : http://i.imgur.com/krx99oN.png
source wikipedia
Edit: They where bmp Imgur converted it on the fly
Edit2: original file : https://en.wikipedia.org/wiki/File:Gray ... _image.png
-
- Posts: 17
- Joined: Sun Jan 31, 2016 8:50 am
Re: Texture
Hi Turboss,
I had the same problem.
In the gimp go to menu Image / mode / greyscale
and then export to bmp.
I obtain allways a 8bits greyscale image.
if I forget to do so --- I mean if I rework the greyscale image --> it turns back to RGB --> then you can play with the adanced options during export... but it does not work... then I allways got same trouble as you.
So this above is my solution maybe for you as well.
I had the same problem.
In the gimp go to menu Image / mode / greyscale
and then export to bmp.
I obtain allways a 8bits greyscale image.
if I forget to do so --- I mean if I rework the greyscale image --> it turns back to RGB --> then you can play with the adanced options during export... but it does not work... then I allways got same trouble as you.
So this above is my solution maybe for you as well.
-
- Posts: 17
- Joined: Sun Jan 31, 2016 8:50 am
Re: Texture
Just a few snapshops after the macro texture and the loftall Macro:
I try to get a mesh sothat I can make 3D print.
So I go from this blurred image made by hand with aid of Inkspace from it after the macro with value 1 in the spinbox: [/img]
from it after the macro with value 1 in the spinbox (1 ruled face selected): from it after the macro with value 3 in the spinbox: from it after the macro with value 3 in the spinbox (1 ruled face selected): from it after the macro with value 10 in the spinbox:
I try to get a mesh sothat I can make 3D print.
So I go from this blurred image made by hand with aid of Inkspace from it after the macro with value 1 in the spinbox: [/img]
from it after the macro with value 1 in the spinbox (1 ruled face selected): from it after the macro with value 3 in the spinbox: from it after the macro with value 3 in the spinbox (1 ruled face selected): from it after the macro with value 10 in the spinbox:
- Attachments
-
- clef gab2.png (9.38 KiB) Viewed 2263 times
-
- Posts: 17
- Joined: Sun Jan 31, 2016 8:50 am
Re: Texture
Follow Up:
Just a few snapshops after the macro texture and the loftall Macro:
I try to get a mesh sothat I can make 3D print.
So I go from this blurred image made by hand with aid of Inkspace
from it after the macro with value 10 in the spinbox: from it after the macro with value 1 in the spinbox (1 ruled face selected):
Just a few snapshops after the macro texture and the loftall Macro:
I try to get a mesh sothat I can make 3D print.
So I go from this blurred image made by hand with aid of Inkspace
from it after the macro with value 10 in the spinbox: from it after the macro with value 1 in the spinbox (1 ruled face selected):
-
- Posts: 17
- Joined: Sun Jan 31, 2016 8:50 am
Re: Texture
With those 3 different settings one can see the difference in resolution of the ruled surface
I found this feature a very nice one.
I asked Mario for that and I am pretty sure that it will be possible to enable quick and dirty preview before doing long computation.
Thanks to Him!
I found this feature a very nice one.
I asked Mario for that and I am pretty sure that it will be possible to enable quick and dirty preview before doing long computation.
Thanks to Him!
Re: Texture
Ive tryed with the gimpand krita and both fails
Re: Texture
Dr_Froggy_rD witch version of freecad are you using?
thx
thx
Re: Texture
Hi
@TurBoss
I had no problems for the conversion and executee in FreeCAD
you must convert the image to 256 gray level and export to BMP (with Gimp)
I'll do a little tutorial to convert a file to the macro
but i have one little problem with this image my FreCAD
OS: Windows 8
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4671 (Git)
Branch: releases/FreeCAD-0-15
Hash: 244b3aef360841646cbfe80a1b225c8b39c8380c
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
@Dr_Froggy_rD famous
mario
@TurBoss
I had no problems for the conversion and executee in FreeCAD
you must convert the image to 256 gray level and export to BMP (with Gimp)
I'll do a little tutorial to convert a file to the macro
but i have one little problem with this image my FreCAD
OS: Windows 8
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4671 (Git)
Branch: releases/FreeCAD-0-15
Hash: 244b3aef360841646cbfe80a1b225c8b39c8380c
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
@Dr_Froggy_rD famous
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.