User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
variable_exposure_timing [2021/03/26 20:19]
188.34.178.99 old revision restored (2017/05/13 15:51)
variable_exposure_timing [2021/03/28 08:52] (current)
88.198.226.49 old revision restored (2017/05/23 05:19)
Line 1: Line 1:
-===== Variable Exposure Timing (per layer) =====+===== Variable Exposure Timing (Built In) ===== 
 +There are three examples of Variable Exposure Timing spread throughout Photonic3d. The first two are calibration routines specified here:   
 +{{:pasted:20170523-031330.png}} 
 +The final third example is a duplication grid that exposes your print at different exposure levels. That button is located here:   
 +{{:pasted:20170523-031808.png}}
  
-Not only does Photonic3D allow variable exposure times per layer with a exposure time function, Photonic3D also allows dynamic drawing of the print screen while a print is in progress. Generally this is only used for blacking out regions of the screen, but you can also use it to produce new printable regions, or alpha fade regions as well.+===== Variable Exposure Timing (For Custom Calculators) ===== 
 +Not only does Photonic3D allow variable exposure times per layer with a exposure time function, Photonic3D also allows dynamic drawing of the print screen while a print is in progress. Generally this is only used for blacking out regions of the screen during an exposure, but you can also use it to produce new printable regions, or alpha fade regions as well.
  
-All of this is done with the 'exposureTimersarray. Just pick any JavaScript calculator and add a timer to the list like this:+All of this is done with the `exposureTimersarray. Just pick any JavaScript calculator and add a timer to the  list like this:
          exposureTimers.add({          exposureTimers.add({
              "delayMillis":1000,               "delayMillis":1000, 
Line 12: Line 17:
          });          });
                    
-You can add as many timers as necessary. These timers are designed to be much more practical and be integrated into your own Javascript calculators like this:+You can add as many timers as necessary, and are designed to be much more practical than the one above. You are able to add your own exposure timer to any available JavaScript calculator in Photonic3D like this:
          exposureTimers.add({          exposureTimers.add({
              "delayMillis":$LayerTime - (pegSettingsMM.exposureTimeDecrementMillis * x),               "delayMillis":$LayerTime - (pegSettingsMM.exposureTimeDecrementMillis * x), 
Line 30: Line 35:
          });          });
  
-The timer above is designed to be integrated into the peg example on the Calculator examples page. It allows each peg to be independently printed at a different exposure levels based on the master exposure level calculated by the printer. The trick to remember here is that if you use the "parameters" variable above, you can capture the state of any local variable at the state that your JavaScript calculator was running. Then Photonic3D will pass that object into the exposure function to be used during the actual exposure of your image.+The timer above was written to be integrated into the peg example on the Calculator examples page https://wiki.photonic3d.com/doku.php?id=calculator_examples. It allows each peg to be independently printed at a different exposure levels based on the master exposure level calculated by the printer. The trick to remember here is that if you use the "parameters" variable above, you can capture the state of any local variable at the time that your JavaScript calculator was running. Then Photonic3D will pass that object into the exposure function to be used during the actual exposure of your image.
  
 There are of course, several examples of this throughout Photonic3d. There are of course, several examples of this throughout Photonic3d.