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

Infill pattern doesn't rotate with the object #4304

Open
CuredPrusa opened this issue Jun 8, 2024 · 9 comments
Open

Infill pattern doesn't rotate with the object #4304

CuredPrusa opened this issue Jun 8, 2024 · 9 comments
Labels
enhancement fixed for the next version That means that you should be able to test it in the latest nightly build

Comments

@CuredPrusa
Copy link

CuredPrusa commented Jun 8, 2024

Related to all SS versions. Unfortunately, it is coming all the way from Prusa.
Infill has a defined filling angle.
When model gets rotated, the infill angle doesn't follow the model position/rotation, but a relative position to the build plate. That messes up complete infill pattern, otherwise precisely defined for object's requirements.

image

@confuzled-dev
Copy link

been frustrated by this for a while

@CuredPrusa
Copy link
Author

I'm actually quite amazed this wasn't fixed years ago. I have found this same flaw in Cura and Orca too. Very peculiar phenomenon.

@supermerill
Copy link
Owner

supermerill commented Jun 10, 2024

I can adjust it but when you have multiple part into an object, the rotation should be:

  • the plater (current)
  • only the rotation of the object
  • only the rotation of the part
  • the combined rotation of the object + part
    ?

Also, when the rotation has 3 components, the z rotation used is:

  • nether, revert to plater
  • only get the z-rotation of the matrix (it doesn't make sense)
  • the angle of the plater x-axis to the projection of the x-axis of the original object into the plater xy plane ?
    image

@CuredPrusa
Copy link
Author

I can't imagine when and why should infill angle be related to the platter. Whenever the infill angle matters, it's always adjusted to the appropriate fit inside particular perimeter. So any consequential automatic change of the infill angle in relation to the perimeter, for whatever reason (in this case rotation, regardless if it's multi or solo), is actually a problem which has to be manually inspected and manually corrected, to preserve infill angle related to perimeter as originally desired.

So to put it pragmatic, the infill connection points to the perimeter should be considered as GLUED to the perimeter in original object position, for whatever rotation it done. I guess this means that angle degrees should be calculated to perimeter plan. Yes, there could be many perimeters in various positions, rounded as well, but starting position doesn't matter much because user adjust afterwards precisely when observing, inspecting. Or the starting point could be related to platter, but once the infill is there it should become a matter of perimeter. The important thing is it should stay the way it was set.

@supermerill
Copy link
Owner

supermerill commented Jun 11, 2024

Here I set manually the first object to 0° angle and the second to 45°, as it's rotated by 45°, is it what you want the software to do automatically?
image

the infill connection points to the perimeter should be considered as GLUED to the perimeter in original

imo, not possible if the object is rotated/cut/modified/assemble with others.

@confuzled-dev
Copy link

confuzled-dev commented Jun 11, 2024 via email

@CuredPrusa
Copy link
Author

the infill connection points to the perimeter should be considered as GLUED to the perimeter in original

imo, not possible if the object is rotated/cut/modified/assemble with others.

That's a pity because this is exactly what I have in mind.
If this is not possible, that means duplicating object by instances and rotate them around the platter for better convenience of printing is actually impossible because infill pattern would always shift. Example is in screenshot of my first post. To correct that behaviour, I'd have to copy-paste complete object and manually change infill angle and solid fill and ironing for each copy of original object through bunch of individual modifiers. Yes, it's a doable workaround, but it's tedious and frustrating, especially for complex objects with several infill chambers and manually arranged infill patterns and density.

You are never going to have the infill right all the time based on a preconfigured setting.

I never thought about it. Now, this changes the whole approach in rearranging the position of the object(s).

@CuredPrusa
Copy link
Author

As I already made it clear, I'm not familiar with coding of such a complex program as slicer. But, what comes to my mind is to make a check box which adds or subtracts angle degrees to anything related to filling/ironing, in direct relation to XYZ rotation of the object.

@supermerill supermerill added the fixed for the next version That means that you should be able to test it in the latest nightly build label Jun 13, 2024
@supermerill
Copy link
Owner

added a setting to follow the object's rotation, as it's easy enough to add and it makes sense.
For the cases where the rotation is too strange, the fill_angle field is added to the quick-modifier 'infill'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement fixed for the next version That means that you should be able to test it in the latest nightly build
Projects
None yet
Development

No branches or pull requests

3 participants