Tweak dailytip: remove images/added a few new tips
|
@ -62,12 +62,34 @@
|
|||
# Weight must be larger or equal to 1. Default weight is 1.
|
||||
# Weight defines probability as weight : sum_of_all_weights.
|
||||
|
||||
[hint:Precise wall]
|
||||
text = Precise wall\nDid you know that turning on precise wall can improve precision and layer consistency?
|
||||
documentation_link = https://github.com/SoftFever/OrcaSlicer/wiki/Precise-wall
|
||||
|
||||
[hint:Sandwich mode]
|
||||
text = Sandwich mode\nDid you know that you can use sandwich mode (inner-outer-inner) to improve precision and layer consistency if your model doesn't have very steep overhangs?
|
||||
|
||||
[hint:Chamber temperature]
|
||||
text = Chamber temperature\nDid you know that OrcaSlicer supports chamber temperature?
|
||||
documentation_link = https://github.com/SoftFever/OrcaSlicer/wiki/Chamber-temperature
|
||||
|
||||
[hint:Calibration]
|
||||
text = Calibration\nDid you know that calibrating your printer can do wonders? Check out our beloved calibration solution in OrcaSlicer.
|
||||
documentation_link = https://github.com/SoftFever/OrcaSlicer/wiki/Calibration
|
||||
|
||||
[hint:Auxiliary fan]
|
||||
text = Auxiliary fan\nDid you know that OrcaSlicer supports Auxiliary part cooling fan?
|
||||
documentation_link = https://github.com/SoftFever/OrcaSlicer/wiki/Auxiliary-fan
|
||||
|
||||
[hint:Air filtration]
|
||||
text = Air filtration/Exhuast Fan\nDid you know that OrcaSlicer can support Air filtration/Exhuast Fan?
|
||||
documentation_link = https://github.com/SoftFever/OrcaSlicer/wiki/air-filtration
|
||||
|
||||
[hint:How to use keyboard shortcuts]
|
||||
text = How to use keyboard shortcuts\nDid you know that Orca Slicer offers a wide range of keyboard shortcuts and 3D scene operations.
|
||||
|
||||
[hint:Cut Tool]
|
||||
text = Cut Tool\nDid you know that you can cut a model at any angle and position with the cutting tool?
|
||||
image = images/dailytips_CutTool.PNG
|
||||
|
||||
[hint:Fix Model]
|
||||
text = Fix Model\nDid you know that you can fix a corrupted 3D model to avoid a lot of slicing problems on the Windows system?
|
||||
|
@ -77,50 +99,42 @@ text = Timelapse\nDid you know that you can generate a timelapse video during ea
|
|||
|
||||
[hint:Auto-Arrange]
|
||||
text = Auto-Arrange\nDid you know that you can auto-arrange all objects in your project?
|
||||
image = images/dailytips_AutoArrange.PNG
|
||||
|
||||
[hint:Auto-Orient]
|
||||
text = Auto-Orient\nDid you know that you can rotate objects to an optimal orientation for printing by a simple click?
|
||||
|
||||
[hint:Lay on Face]
|
||||
text = Lay on Face\nDid you know that you can quickly orient a model so that one of its faces sits on the print bed? Select the \"Place on face\" function or press the <b>F</b> key.
|
||||
image = images/dailytips_LayOnFace.PNG
|
||||
|
||||
[hint:Object List]
|
||||
text = Object List\nDid you know that you can view all objects/parts in a list and change settings for each object/part?
|
||||
image = images/dailytips_ObjectList.PNG
|
||||
|
||||
[hint:Search Functionality]
|
||||
text = Search Functionality\nDid you know that you use the Search tool to quickly find a specific Orca Slicer setting?
|
||||
|
||||
[hint:Simplify Model]
|
||||
text = Simplify Model\nDid you know that you can reduce the number of triangles in a mesh using the Simplify mesh feature? Right-click the model and select Simplify model. Read more in the documentation.
|
||||
image = images/dailytips_SimplifyModel.PNG
|
||||
text = Simplify Model\nDid you know that you can reduce the number of triangles in a mesh using the Simplify mesh feature? Right-click the model and select Simplify model.
|
||||
|
||||
[hint:Slicing Parameter Table]
|
||||
text = Slicing Parameter Table\nDid you know that you can view all objects/parts on a table and change settings for each object/part?
|
||||
image = images/dailytips_SlicingParamTable.PNG
|
||||
|
||||
[hint:Split to Objects/Parts]
|
||||
text = Split to Objects/Parts\nDid you know that you can split a big object into small ones for easy colorizing or printing?
|
||||
|
||||
[hint:Subtract a Part]
|
||||
text = Subtract a Part\nDid you know that you can subtract one mesh from another using the Negative part modifier? That way you can, for example, create easily resizable holes directly in Orca Slicer. Read more in the documentation.
|
||||
image = images/dailytips_SubtractPart.png
|
||||
text = Subtract a Part\nDid you know that you can subtract one mesh from another using the Negative part modifier? That way you can, for example, create easily resizable holes directly in Orca Slicer.
|
||||
|
||||
[hint:STEP]
|
||||
text = STEP\nDid you know that you can improve your print quality by slicing a STEP file instead of an STL?\nOrca Slicer supports slicing STEP files, providing smoother results than a lower resolution STL. Give it a try!
|
||||
|
||||
[hint:Z seam location]
|
||||
text = Z seam location\nDid you know that you can customize the location of the Z seam, and even paint it on your print, to have it in a less visible location? This improves the overall look of your model. Check it out!
|
||||
image = images/dailytips_ZSeamLocation.png
|
||||
|
||||
[hint:Fine-tuning for flow rate]
|
||||
text = Fine-tuning for flow rate\nDid you know that flow rate can be fine-tuned for even better-looking prints? Depending on the material, you can improve the overall finish of the printed model by doing some fine-tuning.
|
||||
|
||||
[hint:Split your prints into plates]
|
||||
text = Split your prints into plates\nDid you know that you can split a model that has a lot of parts into individual plates ready to print? This will simplify the process of keeping track of all the parts.
|
||||
image = images/dailytips_SplitIntoPlates.png
|
||||
|
||||
[hint:Speed up your print with Adaptive Layer Height]
|
||||
text = Speed up your print with Adaptive Layer Height\nDid you know that you can print a model even faster, by using the Adaptive Layer Height option? Check it out!
|
||||
|
@ -130,21 +144,18 @@ text = Support painting\nDid you know that you can paint the location of your su
|
|||
|
||||
[hint:Different types of supports]
|
||||
text = Different types of supports\nDid you know that you can choose from multiple types of supports? Tree supports work great for organic models, while saving filament and improving print speed. Check them out!
|
||||
image = images/dailytips_TypesOfSupports.png
|
||||
|
||||
[hint:Printing Silk Filament]
|
||||
text = Printing Silk Filament\nDid you know that Silk filament needs special consideration to print it successfully? Higher temperature and lower speed are always recommended for the best results.
|
||||
|
||||
[hint:Brim for better adhesion]
|
||||
text = Brim for better adhesion\nDid you know that when printing models have a small contact interface with the printing surface, it's recommended to use a brim?
|
||||
image = images/dailytips_Brim.png
|
||||
|
||||
[hint:Set parameters for multiple objects]
|
||||
text = Set parameters for multiple objects\nDid you know that you can set slicing parameters for all selected objects at one time?
|
||||
|
||||
[hint:Stack objects]
|
||||
text = Stack objects\nDid you know that you can stack objects as a whole one?
|
||||
image = images/dailytips_StackObject.png
|
||||
|
||||
[hint:Flush into support/objects/infill]
|
||||
text = Flush into support/objects/infill\nDid you know that you can save the wasted filament by flushing them into support/objects/infill during filament change?
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M15.0882 3.21873C15.3736 3.51248 15.3736 3.98748 15.0882 4.2781L7.07395 12.5312C6.78859 12.825 6.32717 12.825 6.04484 12.5312L1.91324 8.28123C1.62788 7.98748 1.62788 7.51248 1.91324 7.22185C2.19859 6.93123 2.66002 6.9281 2.94234 7.22185L6.55484 10.9406L14.0561 3.21873C14.3415 2.92498 14.8029 2.92498 15.0852 3.21873H15.0882Z" fill="#00AE42"/>
|
||||
<path d="M15.0882 3.21873C15.3736 3.51248 15.3736 3.98748 15.0882 4.2781L7.07395 12.5312C6.78859 12.825 6.32717 12.825 6.04484 12.5312L1.91324 8.28123C1.62788 7.98748 1.62788 7.51248 1.91324 7.22185C2.19859 6.93123 2.66002 6.9281 2.94234 7.22185L6.55484 10.9406L14.0561 3.21873C14.3415 2.92498 14.8029 2.92498 15.0852 3.21873H15.0882Z" fill="#009688"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 456 B After Width: | Height: | Size: 456 B |
|
@ -1,3 +1,3 @@
|
|||
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M15.0882 3.21873C15.3736 3.51248 15.3736 3.98748 15.0882 4.2781L7.07395 12.5312C6.78859 12.825 6.32717 12.825 6.04484 12.5312L1.91324 8.28123C1.62788 7.98748 1.62788 7.51248 1.91324 7.22185C2.19859 6.93123 2.66002 6.9281 2.94234 7.22185L6.55484 10.9406L14.0561 3.21873C14.3415 2.92498 14.8029 2.92498 15.0852 3.21873H15.0882Z" fill="#00AE42"/>
|
||||
<path d="M15.0882 3.21873C15.3736 3.51248 15.3736 3.98748 15.0882 4.2781L7.07395 12.5312C6.78859 12.825 6.32717 12.825 6.04484 12.5312L1.91324 8.28123C1.62788 7.98748 1.62788 7.51248 1.91324 7.22185C2.19859 6.93123 2.66002 6.9281 2.94234 7.22185L6.55484 10.9406L14.0561 3.21873C14.3415 2.92498 14.8029 2.92498 15.0852 3.21873H15.0882Z" fill="#009688"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 456 B After Width: | Height: | Size: 456 B |
|
@ -1,6 +1,6 @@
|
|||
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_13578_18912)">
|
||||
<path d="M12 1.86133C14.7848 1.86133 17.4555 2.96757 19.4246 4.93671C21.3938 6.90584 22.5 9.57656 22.5 12.3613C22.5 15.1461 21.3938 17.8168 19.4246 19.7859C17.4555 21.7551 14.7848 22.8613 12 22.8613C9.21523 22.8613 6.54451 21.7551 4.57538 19.7859C2.60625 17.8168 1.5 15.1461 1.5 12.3613C1.5 9.57656 2.60625 6.90584 4.57538 4.93671C6.54451 2.96757 9.21523 1.86133 12 1.86133ZM12 24.3613C15.1826 24.3613 18.2348 23.097 20.4853 20.8466C22.7357 18.5962 24 15.5439 24 12.3613C24 9.17873 22.7357 6.12648 20.4853 3.87605C18.2348 1.62561 15.1826 0.361328 12 0.361328C8.8174 0.361328 5.76516 1.62561 3.51472 3.87605C1.26428 6.12648 0 9.17873 0 12.3613C0 15.5439 1.26428 18.5962 3.51472 20.8466C5.76516 23.097 8.8174 24.3613 12 24.3613ZM17.0297 9.89102C17.3203 9.60039 17.3203 9.12227 17.0297 8.83164C16.7391 8.54102 16.2609 8.54102 15.9703 8.83164L10.5 14.302L8.02969 11.8316C7.73906 11.541 7.26094 11.541 6.97031 11.8316C6.67969 12.1223 6.67969 12.6004 6.97031 12.891L9.97031 15.891C10.2609 16.1816 10.7391 16.1816 11.0297 15.891L17.0297 9.89102Z" fill="#00AE42"/>
|
||||
<path d="M12 1.86133C14.7848 1.86133 17.4555 2.96757 19.4246 4.93671C21.3938 6.90584 22.5 9.57656 22.5 12.3613C22.5 15.1461 21.3938 17.8168 19.4246 19.7859C17.4555 21.7551 14.7848 22.8613 12 22.8613C9.21523 22.8613 6.54451 21.7551 4.57538 19.7859C2.60625 17.8168 1.5 15.1461 1.5 12.3613C1.5 9.57656 2.60625 6.90584 4.57538 4.93671C6.54451 2.96757 9.21523 1.86133 12 1.86133ZM12 24.3613C15.1826 24.3613 18.2348 23.097 20.4853 20.8466C22.7357 18.5962 24 15.5439 24 12.3613C24 9.17873 22.7357 6.12648 20.4853 3.87605C18.2348 1.62561 15.1826 0.361328 12 0.361328C8.8174 0.361328 5.76516 1.62561 3.51472 3.87605C1.26428 6.12648 0 9.17873 0 12.3613C0 15.5439 1.26428 18.5962 3.51472 20.8466C5.76516 23.097 8.8174 24.3613 12 24.3613ZM17.0297 9.89102C17.3203 9.60039 17.3203 9.12227 17.0297 8.83164C16.7391 8.54102 16.2609 8.54102 15.9703 8.83164L10.5 14.302L8.02969 11.8316C7.73906 11.541 7.26094 11.541 6.97031 11.8316C6.67969 12.1223 6.67969 12.6004 6.97031 12.891L9.97031 15.891C10.2609 16.1816 10.7391 16.1816 11.0297 15.891L17.0297 9.89102Z" fill="#009688"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_13578_18912">
|
||||
|
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 198 KiB |
Before Width: | Height: | Size: 353 KiB |
Before Width: | Height: | Size: 378 KiB |
Before Width: | Height: | Size: 394 KiB |
Before Width: | Height: | Size: 407 KiB |
Before Width: | Height: | Size: 448 KiB |
Before Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 292 KiB |
Before Width: | Height: | Size: 303 KiB |
Before Width: | Height: | Size: 207 KiB |
Before Width: | Height: | Size: 479 KiB |
Before Width: | Height: | Size: 724 KiB |
Before Width: | Height: | Size: 72 KiB |
|
@ -1,6 +1,6 @@
|
|||
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_14987_19175)">
|
||||
<path d="M12.5 2.34375C15.1936 2.34375 17.7769 3.41378 19.6816 5.31845C21.5862 7.22311 22.6562 9.80639 22.6562 12.5C22.6562 15.1936 21.5862 17.7769 19.6816 19.6816C17.7769 21.5862 15.1936 22.6562 12.5 22.6562C9.80639 22.6562 7.22311 21.5862 5.31845 19.6816C3.41378 17.7769 2.34375 15.1936 2.34375 12.5C2.34375 9.80639 3.41378 7.22311 5.31845 5.31845C7.22311 3.41378 9.80639 2.34375 12.5 2.34375ZM12.5 25C15.8152 25 18.9946 23.683 21.3388 21.3388C23.683 18.9946 25 15.8152 25 12.5C25 9.18479 23.683 6.00537 21.3388 3.66117C18.9946 1.31696 15.8152 0 12.5 0C9.18479 0 6.00537 1.31696 3.66117 3.66117C1.31696 6.00537 0 9.18479 0 12.5C0 15.8152 1.31696 18.9946 3.66117 21.3388C6.00537 23.683 9.18479 25 12.5 25ZM18.0176 10.2051C18.4766 9.74609 18.4766 9.00391 18.0176 8.5498C17.5586 8.0957 16.8164 8.09082 16.3623 8.5498L10.9424 13.9697L8.64746 11.6748C8.18848 11.2158 7.44629 11.2158 6.99219 11.6748C6.53809 12.1338 6.5332 12.876 6.99219 13.3301L10.1172 16.4551C10.5762 16.9141 11.3184 16.9141 11.7725 16.4551L18.0176 10.2051Z" fill="#00AE42"/>
|
||||
<path d="M12.5 2.34375C15.1936 2.34375 17.7769 3.41378 19.6816 5.31845C21.5862 7.22311 22.6562 9.80639 22.6562 12.5C22.6562 15.1936 21.5862 17.7769 19.6816 19.6816C17.7769 21.5862 15.1936 22.6562 12.5 22.6562C9.80639 22.6562 7.22311 21.5862 5.31845 19.6816C3.41378 17.7769 2.34375 15.1936 2.34375 12.5C2.34375 9.80639 3.41378 7.22311 5.31845 5.31845C7.22311 3.41378 9.80639 2.34375 12.5 2.34375ZM12.5 25C15.8152 25 18.9946 23.683 21.3388 21.3388C23.683 18.9946 25 15.8152 25 12.5C25 9.18479 23.683 6.00537 21.3388 3.66117C18.9946 1.31696 15.8152 0 12.5 0C9.18479 0 6.00537 1.31696 3.66117 3.66117C1.31696 6.00537 0 9.18479 0 12.5C0 15.8152 1.31696 18.9946 3.66117 21.3388C6.00537 23.683 9.18479 25 12.5 25ZM18.0176 10.2051C18.4766 9.74609 18.4766 9.00391 18.0176 8.5498C17.5586 8.0957 16.8164 8.09082 16.3623 8.5498L10.9424 13.9697L8.64746 11.6748C8.18848 11.2158 7.44629 11.2158 6.99219 11.6748C6.53809 12.1338 6.5332 12.876 6.99219 13.3301L10.1172 16.4551C10.5762 16.9141 11.3184 16.9141 11.7725 16.4551L18.0176 10.2051Z" fill="#009688"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_14987_19175">
|
||||
|
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -1,6 +1,6 @@
|
|||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_13676_18539)">
|
||||
<path d="M10.5 0C10.225 0 10 0.225 10 0.5C10 0.775 10.225 1 10.5 1H14.2937L6.64687 8.64688C6.45312 8.84063 6.45312 9.15937 6.64687 9.35312C6.84062 9.54688 7.15938 9.54688 7.35313 9.35312L15 1.70625V5.5C15 5.775 15.225 6 15.5 6C15.775 6 16 5.775 16 5.5V0.5C16 0.225 15.775 0 15.5 0H10.5ZM2 2C0.896875 2 0 2.89687 0 4V14C0 15.1031 0.896875 16 2 16H12C13.1031 16 14 15.1031 14 14V9.5C14 9.225 13.775 9 13.5 9C13.225 9 13 9.225 13 9.5V14C13 14.5531 12.5531 15 12 15H2C1.44687 15 1 14.5531 1 14V4C1 3.44688 1.44687 3 2 3H6.5C6.775 3 7 2.775 7 2.5C7 2.225 6.775 2 6.5 2H2Z" fill="#00AE42"/>
|
||||
<path d="M10.5 0C10.225 0 10 0.225 10 0.5C10 0.775 10.225 1 10.5 1H14.2937L6.64687 8.64688C6.45312 8.84063 6.45312 9.15937 6.64687 9.35312C6.84062 9.54688 7.15938 9.54688 7.35313 9.35312L15 1.70625V5.5C15 5.775 15.225 6 15.5 6C15.775 6 16 5.775 16 5.5V0.5C16 0.225 15.775 0 15.5 0H10.5ZM2 2C0.896875 2 0 2.89687 0 4V14C0 15.1031 0.896875 16 2 16H12C13.1031 16 14 15.1031 14 14V9.5C14 9.225 13.775 9 13.5 9C13.225 9 13 9.225 13 9.5V14C13 14.5531 12.5531 15 12 15H2C1.44687 15 1 14.5531 1 14V4C1 3.44688 1.44687 3 2 3H6.5C6.775 3 7 2.775 7 2.5C7 2.225 6.775 2 6.5 2H2Z" fill="#009688"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_13676_18539">
|
||||
|
|
Before Width: | Height: | Size: 838 B After Width: | Height: | Size: 838 B |
|
@ -1,4 +1,4 @@
|
|||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="10" cy="10" r="10" fill="#00AE42"/>
|
||||
<circle cx="10" cy="10" r="10" fill="#009688"/>
|
||||
<path d="M7.386 7.762V6.474L10.368 4.738H11.32V15H10.06V6.236L7.386 7.762Z" fill="white"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 242 B |
|
@ -1,4 +1,4 @@
|
|||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="10" cy="10" r="10" fill="#00AE42"/>
|
||||
<circle cx="10" cy="10" r="10" fill="#009688"/>
|
||||
<path d="M8.604 13.894H13.238V15H6.7V14.202L10.018 10.506C10.6433 9.81533 11.0727 9.274 11.306 8.882C11.5393 8.48067 11.656 8.04667 11.656 7.58C11.656 6.98267 11.4927 6.52067 11.166 6.194C10.8393 5.86733 10.4287 5.704 9.934 5.704C9.43 5.704 8.98667 5.87667 8.604 6.222C8.22133 6.558 7.946 7.006 7.778 7.566L6.77 6.992C6.97533 6.22667 7.38133 5.634 7.988 5.214C8.59467 4.78467 9.27133 4.57 10.018 4.57C10.5593 4.57 11.054 4.68667 11.502 4.92C11.95 5.144 12.3047 5.48 12.566 5.928C12.8367 6.36667 12.972 6.89867 12.972 7.524C12.972 8.13067 12.8227 8.70467 12.524 9.246C12.2253 9.78733 11.7027 10.4687 10.956 11.29L8.604 13.894Z" fill="white"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 793 B After Width: | Height: | Size: 793 B |
|
@ -701,7 +701,7 @@ body
|
|||
#HotModel_RIGHT_Title:hover
|
||||
{
|
||||
cursor: pointer;
|
||||
color:#00AE42;
|
||||
color:#009688;
|
||||
}
|
||||
|
||||
.HotModelPiece
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1695385857383" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1746" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M943.104 216.064q-8.192 9.216-15.36 16.384l-12.288 12.288q-6.144 6.144-11.264 10.24l-138.24-139.264q8.192-8.192 20.48-19.456t20.48-17.408q20.48-16.384 44.032-14.336t37.888 9.216q15.36 8.192 34.304 28.672t29.184 43.008q5.12 14.336 6.656 33.792t-15.872 36.864zM551.936 329.728l158.72-158.72 138.24 138.24q-87.04 87.04-158.72 157.696-30.72 29.696-59.904 58.88t-53.248 52.224-39.424 38.4l-18.432 18.432q-7.168 7.168-16.384 14.336t-20.48 12.288-31.232 12.288-41.472 13.824-40.96 12.288-29.696 6.656q-19.456 2.048-20.992-3.584t1.536-25.088q1.024-10.24 5.12-30.208t8.192-40.448 8.704-38.4 7.68-25.088q5.12-11.264 10.752-19.456t15.872-18.432zM899.072 478.208q21.504 0 40.96 10.24t19.456 41.984l0 232.448q0 28.672-10.752 52.736t-29.184 41.984-41.984 27.648-48.128 9.728l-571.392 0q-24.576 0-48.128-10.752t-41.472-29.184-29.184-43.52-11.264-53.76l0-570.368q0-20.48 11.264-42.496t29.184-39.936 40.448-29.696 45.056-11.776l238.592 0q28.672 0 40.448 20.992t11.776 42.496-11.776 41.472-40.448 19.968l-187.392 0q-21.504 0-34.816 14.848t-13.312 36.352l0 481.28q0 20.48 13.312 34.304t34.816 13.824l474.112 0q21.504 0 36.864-13.824t15.36-34.304l0-190.464q0-14.336 6.656-24.576t16.384-16.384 21.504-8.704 23.04-2.56z" p-id="1747" fill="#00AE42"></path></svg>
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1695385857383" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1746" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M943.104 216.064q-8.192 9.216-15.36 16.384l-12.288 12.288q-6.144 6.144-11.264 10.24l-138.24-139.264q8.192-8.192 20.48-19.456t20.48-17.408q20.48-16.384 44.032-14.336t37.888 9.216q15.36 8.192 34.304 28.672t29.184 43.008q5.12 14.336 6.656 33.792t-15.872 36.864zM551.936 329.728l158.72-158.72 138.24 138.24q-87.04 87.04-158.72 157.696-30.72 29.696-59.904 58.88t-53.248 52.224-39.424 38.4l-18.432 18.432q-7.168 7.168-16.384 14.336t-20.48 12.288-31.232 12.288-41.472 13.824-40.96 12.288-29.696 6.656q-19.456 2.048-20.992-3.584t1.536-25.088q1.024-10.24 5.12-30.208t8.192-40.448 8.704-38.4 7.68-25.088q5.12-11.264 10.752-19.456t15.872-18.432zM899.072 478.208q21.504 0 40.96 10.24t19.456 41.984l0 232.448q0 28.672-10.752 52.736t-29.184 41.984-41.984 27.648-48.128 9.728l-571.392 0q-24.576 0-48.128-10.752t-41.472-29.184-29.184-43.52-11.264-53.76l0-570.368q0-20.48 11.264-42.496t29.184-39.936 40.448-29.696 45.056-11.776l238.592 0q28.672 0 40.448 20.992t11.776 42.496-11.776 41.472-40.448 19.968l-187.392 0q-21.504 0-34.816 14.848t-13.312 36.352l0 481.28q0 20.48 13.312 34.304t34.816 13.824l474.112 0q21.504 0 36.864-13.824t15.36-34.304l0-190.464q0-14.336 6.656-24.576t16.384-16.384 21.504-8.704 23.04-2.56z" p-id="1747" fill="#009688"></path></svg>
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
@ -98,16 +98,24 @@ void DailyTipsDataRenderer::render(const ImVec2& pos, const ImVec2& size) const
|
|||
ImGui::SetNextWindowPos(pos);
|
||||
if (ImGui::BeginChild(name.c_str(), size, false, window_flags)) {
|
||||
if (m_layout == DailyTipsLayout::Vertical) {
|
||||
ImVec2 img_size = ImVec2(size.x, 9.0f / 16.0f * size.x);
|
||||
render_img({ 0, 0 }, img_size);
|
||||
float img_text_gap = ImGui::CalcTextSize("A").y;
|
||||
ImVec2 img_size(0, 0);
|
||||
float img_text_gap = 0.0f;
|
||||
if (has_image()) {
|
||||
img_size = ImVec2(size.x, 9.0f / 16.0f * size.x);
|
||||
render_img({0, 0}, img_size);
|
||||
img_text_gap = ImGui::CalcTextSize("A").y;
|
||||
}
|
||||
render_text({ 0, img_size.y + img_text_gap }, size);
|
||||
}
|
||||
if (m_layout == DailyTipsLayout::Horizontal) {
|
||||
ImVec2 img_size = ImVec2(16.0f / 9.0f * size.y, size.y);
|
||||
render_img({ 0, 0 }, img_size);
|
||||
float img_text_gap = ImGui::CalcTextSize("A").y;
|
||||
render_text({ img_size.x + img_text_gap, 0 }, { size.x - img_size.x - img_text_gap, size.y });
|
||||
ImVec2 img_size(0, 0);
|
||||
float img_text_gap = 0.0f;
|
||||
if (has_image()) {
|
||||
img_size = ImVec2(16.0f / 9.0f * size.y, size.y);
|
||||
render_img({0, 0}, img_size);
|
||||
img_text_gap = ImGui::CalcTextSize("A").y;
|
||||
}
|
||||
render_text({img_size.x + img_text_gap, 0}, {size.x - img_size.x - img_text_gap, size.y});
|
||||
}
|
||||
}
|
||||
ImGui::EndChild();
|
||||
|
@ -132,9 +140,9 @@ void DailyTipsDataRenderer::render_img(const ImVec2& start_pos, const ImVec2& si
|
|||
{
|
||||
if (has_image())
|
||||
ImGui::Image((ImTextureID)(intptr_t)m_texture->get_id(), size, ImVec2(0, 0), ImVec2(1, 1), m_is_dark ? ImVec4(0.8, 0.8, 0.8, m_fade_opacity) : ImVec4(1, 1, 1, m_fade_opacity));
|
||||
else {
|
||||
ImGui::Image((ImTextureID)(intptr_t)m_placeholder_texture->get_id(), size, ImVec2(0, 0), ImVec2(1, 1), m_is_dark ? ImVec4(0.8, 0.8, 0.8, m_fade_opacity) : ImVec4(1, 1, 1, m_fade_opacity));
|
||||
}
|
||||
// else {
|
||||
// ImGui::Image((ImTextureID)(intptr_t)m_placeholder_texture->get_id(), size, ImVec2(0, 0), ImVec2(1, 1), m_is_dark ? ImVec4(0.8, 0.8, 0.8, m_fade_opacity) : ImVec4(1, 1, 1, m_fade_opacity));
|
||||
// }
|
||||
}
|
||||
|
||||
void DailyTipsDataRenderer::render_text(const ImVec2& start_pos, const ImVec2& size) const
|
||||
|
@ -228,7 +236,7 @@ DailyTipsPanel::DailyTipsPanel(bool can_expand, DailyTipsLayout layout)
|
|||
{
|
||||
ImGuiWrapper& imgui = *wxGetApp().imgui();
|
||||
float scale = imgui.get_font_size() / 15.0f;
|
||||
m_footer_height = 58.0f * scale;
|
||||
m_footer_height = 30.0f * scale;
|
||||
m_is_expanded = wxGetApp().app_config->get("show_hints") == "true";
|
||||
}
|
||||
|
||||
|
|
|
@ -226,7 +226,7 @@ void NotificationManager::SlicingProgressNotification::render(GLCanvas3D& canvas
|
|||
const float dailytips_panel_width = (m_window_width - 2 * dailytips_child_window_padding.x);
|
||||
const float gcodeviewer_height = wxGetApp().plater()->get_preview_canvas3D()->get_gcode_viewer().get_legend_height();
|
||||
//const float dailytips_panel_height = std::min(380.0f * scale, std::max(90.0f, (cnv_size.get_height() - gcodeviewer_height - progress_panel_height - dailytips_child_window_padding.y - initial_y - m_line_height * 4)));
|
||||
const float dailytips_panel_height = 380.0f * scale;
|
||||
const float dailytips_panel_height = 125.0f * scale;
|
||||
|
||||
float right_gap = right_margin + (move_from_overlay ? overlay_width + m_line_height * 5 : 0);
|
||||
m_window_pos = ImVec2((float)cnv_size.get_width() - right_gap - m_window_width, (float)cnv_size.get_height() - m_top_y);
|
||||
|
|