Skip to content
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

Add texture to shape is not working #52

Open
gregvonkuster opened this issue Aug 22, 2016 · 1 comment
Open

Add texture to shape is not working #52

gregvonkuster opened this issue Aug 22, 2016 · 1 comment

Comments

@gregvonkuster
Copy link
Collaborator

When I execute the icqsol_add_texture tool from the command line (available here https://github.com/gregvonkuster/galaxy-csg/tree/master/tools/icqsol_add_texture), I get a different output dataset every time I run the tool. making sure I use the same command line parameter values.

This tool itself has not changed, but there have been changes to relevant functions in the underlying icqsol package. Here is an example of one of these changes: e9bdf94

Notice the different output file sizes from executing the tool:

$ pwd
/Users/gvk/work/git_workspace/galaxy-csg/tools/icqsol_add_texture
$ python icqsol_add_texture.py --input ./test-data/shaft.vtkascii --input_file_format_and_type vtkascii --input_dataset_type POLYDATA --input_texture ./test-data/sandstone.jpg --input_texture_file_format jpg --max_edge_length 0.1 --output ./out --output_vtk_type vtkascii
$ ls -l out*
-rw-------  1 gvk  staff  21169 Aug 22 10:43 out
$ python icqsol_add_texture.py --input ./test-data/shaft.vtkascii --input_file_format_and_type vtkascii --input_dataset_type POLYDATA --input_texture ./test-data/sandstone.jpg --input_texture_file_format jpg --max_edge_length 0.1 --output ./out2 --output_vtk_type vtkascii
$ ls -l out*
-rw-------  1 gvk  staff  21169 Aug 22 10:43 out
-rw-------  1 gvk  staff  20956 Aug 22 10:44 out2
$ python icqsol_add_texture.py --input ./test-data/shaft.vtkascii --input_file_format_and_type vtkascii --input_dataset_type POLYDATA --input_texture ./test-data/sandstone.jpg --input_texture_file_format jpg --max_edge_length 0.1 --output ./out3 --output_vtk_type vtkascii
$ ls -l out*
-rw-------  1 gvk  staff  21169 Aug 22 10:43 out
-rw-------  1 gvk  staff  20956 Aug 22 10:44 out2
-rw-------  1 gvk  staff  20945 Aug 22 10:44 out3
$ python icqsol_add_texture.py --input ./test-data/shaft.vtkascii --input_file_format_and_type vtkascii --input_dataset_type POLYDATA --input_texture ./test-data/sandstone.jpg --input_texture_file_format jpg --max_edge_length 0.1 --output ./out4 --output_vtk_type vtkascii
$ ls -l out*
-rw-------  1 gvk  staff  21169 Aug 22 10:43 out
-rw-------  1 gvk  staff  20956 Aug 22 10:44 out2
-rw-------  1 gvk  staff  20945 Aug 22 10:44 out3
-rw-------  1 gvk  staff  21247 Aug 22 10:44 out4
@pletzer
Copy link
Owner

pletzer commented Aug 23, 2016

Hi Greg,

This has been fixed in icqsol 0.3.26. Thanks!

--Alex

On Tue, Aug 23, 2016 at 3:08 AM, Greg Von Kuster notifications@github.com
wrote:

When I execute the icqsol_add_texture tool from the command line
(available here https://github.com/gregvonkuster/galaxy-csg/tree/
master/tools/icqsol_add_texture), I get a different output dataset every
time I run the tool. making sure I use the same command line parameter
values.

This tool itself has not changed, but there have been changes to relevant
functions in the underlying icqsol package. Here is an example of one of
these changes: e9bdf94
e9bdf94

Notice the different output file sizes from executing the tool:

$ pwd
/Users/gvk/work/git_workspace/galaxy-csg/tools/icqsol_add_texture
$ python icqsol_add_texture.py --input ./test-data/shaft.vtkascii --input_file_format_and_type vtkascii --input_dataset_type POLYDATA --input_texture ./test-data/sandstone.jpg --input_texture_file_format jpg --max_edge_length 0.1 --output ./out --output_vtk_type vtkascii
$ ls -l out*
-rw------- 1 gvk staff 21169 Aug 22 10:43 out
$ python icqsol_add_texture.py --input ./test-data/shaft.vtkascii --input_file_format_and_type vtkascii --input_dataset_type POLYDATA --input_texture ./test-data/sandstone.jpg --input_texture_file_format jpg --max_edge_length 0.1 --output ./out2 --output_vtk_type vtkascii
$ ls -l out*
-rw------- 1 gvk staff 21169 Aug 22 10:43 out
-rw------- 1 gvk staff 20956 Aug 22 10:44 out2
$ python icqsol_add_texture.py --input ./test-data/shaft.vtkascii --input_file_format_and_type vtkascii --input_dataset_type POLYDATA --input_texture ./test-data/sandstone.jpg --input_texture_file_format jpg --max_edge_length 0.1 --output ./out3 --output_vtk_type vtkascii
$ ls -l out*
-rw------- 1 gvk staff 21169 Aug 22 10:43 out
-rw------- 1 gvk staff 20956 Aug 22 10:44 out2
-rw------- 1 gvk staff 20945 Aug 22 10:44 out3
$ python icqsol_add_texture.py --input ./test-data/shaft.vtkascii --input_file_format_and_type vtkascii --input_dataset_type POLYDATA --input_texture ./test-data/sandstone.jpg --input_texture_file_format jpg --max_edge_length 0.1 --output ./out4 --output_vtk_type vtkascii
$ ls -l out*
-rw------- 1 gvk staff 21169 Aug 22 10:43 out
-rw------- 1 gvk staff 20956 Aug 22 10:44 out2
-rw------- 1 gvk staff 20945 Aug 22 10:44 out3
-rw------- 1 gvk staff 21247 Aug 22 10:44 out4


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#52, or mute the thread
https://github.com/notifications/unsubscribe-auth/AC4wrknO3pHfPwWFjiIdWrbMby8ZkMXYks5qibtZgaJpZM4Jp-NC
.

Alexander Pletzer
Phone: +64 210 857 9661
alexander@gokliya.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants