You are not logged in.

#1 2017-08-09 12:38:52

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Build 1589 Rotation is not working as expected

I just tried this sequence multiple times and not seeing expected results

Started with a model that is only 0.5 mm tall, for speed of slicing
Have my normal resin profile that does not rotate
Cloned that profile and selected rotate 90° then submitted
Add Plate with original profile and it shows the model oriented horizontally and extends beyond the edges of the plate
Add another Plate selecting with newly saved rotated Resin Profile and model is oriented vertically but the model is not centered and extends beyond the left and top edges of the plate
Not as expected

Same model using original Resin Profile and selecting Rotate Layers 90° in the Add Plate
Model is displayed in new portrait orientation but no longer centered and extends beyond the left and top edges.
Not as expected


Also not sure why never rotate is a choice, either it is or it isn't, and since you have it in two separate places it is confusing. I can create duplicates of every profile and tell the duplicates that they are rotated (this is not a scalable solution as more and more resins become available, unless they should always be rotated). Rotate is in Add Plate so you can do it on a plate by plate basis, this I think would be better as a sticky option in the add plate with As Profile the default.

Last edited by WheresWaldo (2017-08-09 12:46:43)

Offline

#2 2017-08-09 13:26:01

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

I think that the issues is just order of execution between rotate and model placement. If the model is rotated first then placed in the center it should work. I think placing then rotating is what is causing this behavior.

Offline

#3 2017-08-09 14:57:46

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Build 1589 Rotation is not working as expected

I agree having option on both place is confusing but it will be easier to use for guys who always want their plate get rotated.

What you mean by order of execution, if you mean how you choose option on browser. It could not cause any issue as options get posted in same time no matter which order they have changed.

Offline

#4 2017-08-09 15:05:39

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

No, I mean programatically, as nanoDLP processes the STL. It would appear that the STL is centered then the plate is rotated around the origin rather than the center. If it were rotated then centered or if the rotation revolved around the center then it would work.

I tested with a model that was 100 mm x 50 mm x 0.5 mm so that I could see exactly how it rotated.

Offline

#5 2017-08-09 15:19:35

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Build 1589 Rotation is not working as expected

You are right. You think it should rotated first and then centred?

Offline

#6 2017-08-09 15:45:07

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

Well, I think that would solve the issue. nanoDLP has to know where the center of both the build plate and the model is since the Center command works. If you rotate first, then figure out where the center of the model is it should be placed properly.

If you take a rectangular model and then select the rotation you should see it move up and left if it is real big like the model I tested with, it will move the edges off the build plate.

Offline

#7 2017-08-09 16:23:11

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Build 1589 Rotation is not working as expected

I have tested large rectangle piece, it looks fine after rotation. Could you share screenshots?
What do you expect and what happens.

Offline

#8 2017-08-09 17:33:15

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

As soon as it is done printing I will post some images.

Offline

#9 2017-08-09 18:33:01

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

Okay here is my Microsoft OneDrive folder with all the screen shots, let me explain here what they are:
https://1drv.ms/f/s!AuAkU2AiD24nlwBewL7oS7Sm2eHe

actual model.png == the model used for all tests

non rotated profile.png == the profile showing no rotation selected
non rotated profile #1.png == the add plate screen with rotation set to profile
non rotated profile #2.png == result after slicing
non rotated profile rotated plate #1.png == add plate of exact same model choosing to rotate plate 90°
non rotated profile rotated plate #2.png == result after slicing (no change from non rotated model)

rotated profile.png == the profile showing rotation selected
rotated profile EDIT.png == after submit if you go back to edit the profile look at rotate layers it is back to non rotated but see results
rotated profile #1.png == the add plate with rotation set to profile
rotated profile #2.png == results of slicing, model is shifted up and right as if rotation was at plate origin in the lower left hand corner
rotated profile rotated plate #1.png == add plate of exact same model and choose rotate plate 90°
rotated profile rotated plate #2.png == same results from non rotated plate

Two things appear obvious:
  1. Rotation set in plate does not work at all.
  2. Rotation breaks centering of model.

One thing I didn't mention before, but no matter how many times you go back to edit the Resin Profile it always shows that no rotation is enabled.

Last edited by WheresWaldo (2017-08-09 18:35:23)

Offline

#10 2017-08-09 18:38:57

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

One thought, I build my models in the positive quadrant, like most classically trained CAD operators, we don't like working with negative numbers. The model is built with the bottom left corner being 0,0, the actual CAD model is not centered at 0,0 but that has no effect when you ask nanoDLP to Center parts, but it could be the issue with rotating parts.

I added the STL file to the shared directory listed above.
Custom 100 x 50 x 0.5 Raft v1.stl

Last edited by WheresWaldo (2017-08-09 18:40:15)

Offline

#11 2017-08-11 06:23:30

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Build 1589 Rotation is not working as expected

I have done some tests only when printing piece is larger than viewport rotation issue surfaces.
Do you think if it should ever happens? (having larger than print area piece)

Offline

#12 2017-08-11 12:23:31

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

Shahin, I am not sure I understand the question, but let me propose a scenario and you tell me if I am misunderstanding. Many people might fill nearly the entire build platform so they model wider rather than deeper. If they are using any number of programs to create and "plate" their multiple model print run most programs generally default to the landscape orientation. It is a natural choice since human field of vision is larger horizontally rather than vertically. Then we have the rPi that simply doesn't really work well when a display has to be rotated and mirrored (as in all the KLD and Soyo based LCD printers using the phone-centric  Sharp 2K display, so nanoDLP plates landscape on a display that is still portrait. In those cases the user created "plate" is wider than the build area and must be rotated.

Are you suggesting that it auto-rotate when it find a model that is larger than the width of build area?
Or are you saying, rotation was only designed for models bigger than the build area?

The example I gave you above is a real-world case where rotation is really necessary not some guess when it is needed. I am not sure I would ever try to plate models that are physically bigger than the build area, that just doesn't make sense to me.

Last edited by WheresWaldo (2017-08-11 12:25:47)

Offline

#13 2017-08-11 14:02:51

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Build 1589 Rotation is not working as expected

I have not seen anybody fill nearly the entire build platform. Have you seen anybody?
This issue only surfaces if piece is larger than entire build platform get rotated, at least in my tests. Am I right?

For smaller pieces I could not reproduce the issue. They always correctly rotated.

Offline

#14 2017-08-11 15:15:14

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

The model I am using is small and rectangular  You need to test the model I have in that directory, it is smaller than the build plate, not bigger. I shouldn't have to tell you that the build plate is rectangular not square, so you can have models that are longer in one direction than the other and if it overhangs on one axis the rotation doesn't work.

Jewelry designers and model makers routinely place many items on the build plate and cover the bulk of it so they too would have this issue.

Last edited by WheresWaldo (2017-08-11 15:16:35)

Offline

#15 2017-08-11 15:29:59

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

I just tested this again and rotation does not work if the model extends beyond the build platform in one axis or the other. the model is rotated but then placed on the plate off-center.

No matter how the model is created it works the same. Here are my steps to reproduce

1.  In Fusion360 (doesn't matter where you create the model) built a model that is a lid for a box, it is 100 mm wide by 50 mm deep by 5 mm high.
2. Save as STL
3. Go to nanoDLP and Add Plate, the model even though it is physically smaller that the entire build plate is placed horizontally as created and extends beyond the extremes of the X axis, so needs to be rotated.
4. Add Plate again and this time choose a Resin Profile that has rotation enabled, the model is rotated but no longer centered it is shifted to one corner of the build plate.

If I go back into the CAD program I have to physically rotate the model(s) 90° then import them with Add Plate in nanoDLP.

Last edited by WheresWaldo (2017-08-11 15:43:54)

Offline

#16 2017-08-11 15:35:47

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

Upon further testing I know exactly why you are not seeing rotation issues. If you model is centered in the Cartesian build space when created it rotated properly. If it is in any quadrant other than centered it rotates shifted toward one corner.

So if that is the case I still think it is broken, If rotation is not involved it centers the model properly no matter which quadrant the model is built in or if it is centered at 0,0 in your CAD program. You rotation only works if the center of the model is at 0,0.

Last edited by WheresWaldo (2017-08-11 15:39:44)

Offline

#17 2017-08-11 15:58:24

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

Did more tests and this is repeatable the relationship between centered and rotate is what is broken. I just built multiple models and tried them rotated and not rotated in nanoDLP

Model 1 was a block that is 110 x 55 x 5 with the model origin at the lower left corner (0,0)
Model 2 same block that is 55 x 110 x 5 with the model origin at the lower left corner (0,0)
Model 3 same size block as Model 1 with the model origin in the center (0,0) and the lower left is now (-55, -27.5)

Model 1 does not rotate properly but if only center is chosen it centers properly, rotation skews toward an outside corner
Model 2 does not rotate properly but if only center is chosen it centers properly, rotation skews toward an outside corner
Model 3 rotates properly and centers properly.

All models were built in the current version of Fusion 360 and exported directly from Fusion 360 as an STL then directly imported into nanoDLP.

Offline

#18 2017-08-12 07:31:28

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Build 1589 Rotation is not working as expected

Thank you for complete analysis of the issue.
Please, try the latest beta version see if you experience same issue or not.

Offline

#19 2017-08-12 12:21:56

WheresWaldo
Member
Registered: 2017-05-17
Posts: 37

Re: Build 1589 Rotation is not working as expected

Just tested this with a model that did not rotate properly and one that did Model 1 and Model 3 from previous analysis. All these tests were done with build 1597.

If you have two resin profiles one rotated and the other not rotated both models will now center correctly. Rotation behaves exactly as expected.
If you have a model that you need to rotate but did not set rotation in your Resin Profile, choosing Rotate 90° is ignored. Here are the steps to reproduce:

I used a Resin Profile that has never had the rotation set.
Selected Model 1 from previous tests (needs to be rotated)
In the Add Plate screen select Rotate 90°
After submitting and slicing selected Layers to see the output, no rotation takes place.

I tried this two ways. First was to click on Add, then Browse..., then dropped down Rotate Layers. Selecting Rotate 90° then Submit, Rotate 90° is still highlighted.
Second attempt, click Add, Browse..., drop down Rotate Layers and select Rotate 90°, Tab key to move highlight from Rotate 90° to the Submit button, select Submit.

In both the cases above rotation does not occur.

Last edited by WheresWaldo (2017-08-12 12:23:02)

Offline

#20 2017-08-12 21:19:41

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: Build 1589 Rotation is not working as expected

Fixed

Offline

Board footer

Powered by FluxBB