You are not logged in.
@g713 Make sure you use the D7 specifically modified firmware, not just any modified firmware. See the D7 Facebook group or the wiki pages for this.
https://3dprinterwiki.info/wiki/wanhao- … ll-option/
Max, my revision of Marlin started out as mUVe's version. I stripped out every mUVe modification other than the synchronize command for G1 moves. Then I went ahead an applied the same modifications to Marlin 1.0.2+ which according to Marlin developers is the most stable version of Marlin 1.0.x. It only adds the 'Z_move_comp' message and none of the other crap unnecessary for most of these printers. Just make sure you pull branch 1.0.2 and you will have the latest, please note that Configuration.h is modified for KLD/Soyo/Photonics style printers, so make the appropriate adjustments before flashing.
Rigra, I thought about that, and for some reason it either didn't work as I expected or maybe it didn't make it any better, so I left it out and then used M400 instead in the g-code where I home the printer (Setup >> Start of print g-code).
Rigra, I have been using 1.0.2 for a long time and I am pretty confident it is not a firmware issue, you need to post exactly what is in your resin profiles and machine setup for g-code, so someone can help you diagnose the issue.
Shahin, not the same display. The D7 as well the Proniks, KLD, Soyo, etc. all use a 2K (2560 x 1440) 5.5" screen, although the most common one is also made by Sharp.
It's very easy to change the theme, go to https://bootswatch.com/, choose a theme and replace the file bootstrap.min.css
Very cool, thanks for the link.
Doug,
I like that display, might have to play with the css a bit. But I am only a hack can't actually code web pages. It was hard enough figuring out how to modify Marlin for the KLD / Soyo / Photonic printers.
This is not the rotation is broken issue I posted before so I did not want to include it together, this is simply a settings display issue.
All builds that have added Layer Rotation suffer from this.
Go to any Resin Profile and scroll down to Rotate Layers and select Rotate 90°
Make no additional changes or as many as you want, it does not matter.
Click the submit button
Find the newly created rotated Resin Profile in your Resin Settings list and select Edit
Scroll down to Rotate Layers, you will see that it says Disabled
The profile does actually rotate the plate, just the Resin Edit Profile does not indicate it correctly. If you go to profiles.json and examine the profile section you will see this entry toward the bottom; "ImageRotate": 1,. The profile knows it is rotated, but the Edit Profile screen ignores this setting to always display Disabled.
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.
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.
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.
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.
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.
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.
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
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.
As soon as it is done printing I will post some images.
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.
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.
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.
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.
Thanks, I usually check the builds post, but it hadn't been updated since 1552
Title says it all.
As you get many resin settings for various things it is sometimes hard to use the title to differentiate the different variations of profiles. It would be helpful on a line under ID/Title/Layer Thickness/Cure Time to display the description, maybe not the whole field, but enough to fill the empty screen space and see maybe the first part of the description.
Since the Marlin developers think that versions prior to 1.0.2 are more experimental than stable. I created a new branch and have been testing Marlin 1.0.2 modified with the 'z_move_comp' messaging. If you want to pull it from the GITHUB make sure you select the 1.0.2 branch.