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

The Slice Mesh & Truncate options panel don't show #1

Closed
Oxervision opened this issue Apr 11, 2019 · 6 comments
Closed

The Slice Mesh & Truncate options panel don't show #1

Oxervision opened this issue Apr 11, 2019 · 6 comments
Labels

Comments

@Oxervision
Copy link

First, thanks for the addon!!
I have tested the addon on macos 11.3.6 & Blender 2.80.55 and all works fine except that the options panel for Slice Mesh & Truncate don't show, in the case of Slide Mesh generates 9 slices only and the spacing between slices is 10cm. Respect to Truncate the options panel don't show too.

@Lichtso
Copy link
Owner

Lichtso commented Apr 11, 2019

This should be fixed now.

However, there is still a bug in Blender 2.80 which causes it to crash when changing parameters of the slice mesh operator: https://developer.blender.org/T63483

@Lichtso Lichtso added the bug label Apr 11, 2019
@Oxervision
Copy link
Author

Thanks for your effort and the info, I'll test it and I infom you.

@Oxervision
Copy link
Author

The panels are showed now and yes, when you try to change the parameters of Slice Mesh, Blender crash.

@Oxervision
Copy link
Author

I have added 'USE_EVAL_DATA' to the operator:

class SliceMesh(bpy.types.Operator):
    bl_idname = 'curve.add_toolpath_slice_mesh'
    bl_description = bl_label = 'Slice Mesh'
    bl_options = {'REGISTER', 'UNDO', 'USE_EVAL_DATA'}

This fixed the issue with Slice Mesh, it works fine now.

@Lichtso
Copy link
Owner

Lichtso commented Apr 11, 2019

Thanks, I will include the fix in the next commit.

On a side note: I have been thinking of replacing the axis and offset parameters of the slicing operator by an empty object, similar to the truncate operator. This way it might be easier to configure the slicing as you could visually see it (as cube or plane). Do you think that makes sense?

@Oxervision
Copy link
Author

I think the current layout is good and easy to use perhaps you could place the specific description in Pitch & Axis (see the image) and its corresponding tooltip for each one, explaning the function, I don't know if this is possible.

Names Description

@Lichtso Lichtso closed this as completed Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants