icons_two branch
zeffii opened this issue · comments
here.. i've made a new version of the icons branch, called icons_two and it seems stable so far but I have not tested it yet.
warning EXM / PERP are no longer included.
Ok !
I might make this master.. the code is a bit cleaner this time :)
I had made a fork on my account but i wait then....Thanks Zeffii
you're welcome @Spirou4D my pleasure.
Hi Zeffii,
How to add a folder, please, I can't! ;-))
If you used git
correctly you could run a command line git checkout icons_two
and git would then change the files in that directory to reflect the state of the icons_two
branch. If you aren't using git
it's more effort for me to explain how to use it, I do not have time for that. (But worth your time to learn about git..so do.)
So the simplest approach is to download the icons_two branch, directly from this link and before installing it , rename the zip from mesh_tinyCAD-icons_two
to simply mesh_tinyCAD
, then install.
no no Zeffii, you don't understand. I asck you how to add a empty folder in
the github , there are a create new file, then a button: Upload files and
Find File but not button to create a empty folder. I have uploaded the new
icons but it must go in a icons named folder.
I know to use Git but here i work online only.
oh, in your own repo you can create a new (dummy) file inside a directory that doesn't exist yet
existing_folder/new_folder/dummy_name.txt
Ha YES very good, I havn't saw this feature! Great Thanks dera Zeffii!
Have a nice day.
I have made the change but remove the CFG file not really usable, only an
init file is enough.
I have made a special new icon to E2F.py only.
Bye bye
Patrick
btw, I made a few changes to cad_module.py
, and VTX, BIX.
If you really want to use icons, I suggest forking from icons_two
instead, and pulling down the changes I made, I've added (in the next 10 minutes) the E2F icon.
unfortunately I can't find the .blend I made to create the original icons : /
All is ok now:
https://github.com/Spirou4D/mesh_tinyCAD
Main release with icons.
Byebye
Patrick
Ok. have fun!
cool. I found the original .blend ! http://blender.stackexchange.com/questions/31180/material-shading-options-in-3d-viewport-limited-for-curve-objects
Ha OK Zeffii,
I downloaded now...
Byebye
Patrick
script used
import os
import subprocess
def generate(from_file, x, y, filenames, kind='.png'):
filenames = filenames.split()
yield "C:\\Program Files\\ImageMagick-7.0.1-Q16\\convert.exe {0} local01.miff".format(from_file)
for i, filename in enumerate(filenames):
l = "C:\\Program Files\\ImageMagick-7.0.1-Q16\\convert.exe local01.miff -crop {0}x{1}+{2}+0 {3}{4}"
yield l.format(x, y, i * x, filename, kind)
def main():
with open('local01.tff', 'w') as m:
print('generated local file')
rendered_name = 'RENDERED_ARRAY.PNG'
icons = "VTX V2X XALL BIX E2F CCEN EXM"
file_strings = generate(rendered_name, 32, 32, icons)
for line in file_strings:
try:
subprocess.Popen(line.split())
except:
print('failed:', line.split())
# os.remove("local01.miff")
# os.remove("local01.tff")
main()
because the script spawns subprocesses, the final removal of the temporary files (local01.miff .tff) could sometimes happen before the icon subprocesses start. So commented it out and ignore those.
Ok I have take note.
bye.
@Spirou4D I think some app has your github password / rights to paste in your name. scary!
You are right Zeffi, I go to remove this scary IQ Elite forum now...
I apologize for the inconvenience.
At soon.
Patrick
PS: thanks for the info, I havn't seen it!
@Spirou4D ps, tinyCAD will be included in the next release version of blender in scripts/addons/mesh_tiny_cad (it includes icons!)