Commit Graph

51 Commits

Author SHA1 Message Date
c073749ee1 admesh refactoring: separation of the shared vertices / indices
into an indexed_triangle_set structure
2019-06-10 18:30:54 +02:00
068263a62d admesh refactoring: Removed the shared_vertices counter as it is now
contained inside v_shared std::vector
2019-06-10 17:36:15 +02:00
362c229a5c Refactored admesh to get rid of the error and fp members of stl_file. 2019-06-10 17:17:36 +02:00
0e26eb0aeb WIP: Admesh - replacement of C memory allocation with std vectors 2019-06-04 22:06:42 +02:00
97e04326a1 Fix for opening issues with archive files. 2019-06-03 15:27:46 +02:00
b4cf356198 Adjust miniz usage to use nowide FILE streams everywhere. 2019-06-02 22:27:35 +02:00
a907798534 Merge branch 'tm_minz_update' 2019-05-31 18:34:59 +02:00
e15ab5a0cc Fix of loading the variable layer height profile and the SLA support
points for projects with instances.

3mf does not support a concept of instances, therefore all the instances
of all objects are indexed in a linear fashion. However, the 3mf files
index the layer height profiles and the SLA support points with
the object ID. The loading was fixed to take the different indexing
into account.
2019-05-24 12:17:54 +02:00
a1ef85dde6 Replacing old miniz version with new 2.1.0
#2333: The amalgamated library is used from the 'releases' section of the original upstream https://github.com/richgel999/miniz
2019-05-23 11:52:31 +02:00
a8ceb971a4 Use the correct expat location
expat.h is (in most Linux distributions, at least) located directly in
/usr/include.  Because the compiler is called with the src directory in
the include path, the include of <expat/expat.h> happens to work but
results in the bundled version of the header being used instead of the
system version.
2019-05-22 10:10:58 +02:00
b7691980f1 Fix of #1998 2019-03-25 12:07:43 +01:00
322d2a1fab Reworked the command line interface based on the current state
of the upstream.
Thanks @alexrj, @lordofhyphens for the original code of slic3r.cpp
2019-03-13 15:44:50 +01:00
29d296c938 SLA support points are correctly appointed as user-modified
SLA gizmo point cache is reloaded when appropriate
2019-03-11 15:05:36 +01:00
08aaceb328 Fixed Linux build, the old GCC compiler does not support
std::defaultfloat yet
2019-02-27 11:08:58 +01:00
8b84e47700 Fix of Model is marked as defective after opening project #1863
Fixes SPE-613
2019-02-27 10:31:53 +01:00
ab968364e5 Renamed the "lambda-" prefix for the generic modifiers to "Generic-"
Refactored ModelVolume::Type to enum class ModelVolumeType to be able
to forward declare it.

Refactored UI to use the ModelVolumeType instead of the untyped int.
2019-02-22 12:12:10 +01:00
5f3f6e8fe6 More SLA support points improvements
- unselected objects are hidden when SLA gizmo is active
- support volumes are hidden when editing mode is active
- 3mf support points format versioning
2019-02-01 23:09:02 +01:00
5f0454e153 SLA support points improvements
- semi-intelligent algorithm to place support points
- enhanced ImGui dialog with editing/non-editing mode
- support points can have different head diameter (only implemented in GUI so far)
- autogenerated points supporting emerging islands are annotated and the info is kept
2019-02-01 07:13:08 +01:00
de2fd21289 Fixed import of volumes from .amf 2019-01-25 12:58:55 +01:00
98cbd2e053 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-24 13:34:37 +01:00
d428e7b78e Fixed output of volumes to .amf files 2019-01-24 13:32:45 +01:00
05b6ed498a Code cleanup 2019-01-21 11:29:45 +01:00
15582af151 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-21 11:21:21 +01:00
b76f438975 WIP Restoration of the layer editing. 2019-01-21 10:06:51 +01:00
a2dee15995 Fixed .prusa i/o and split to objects 2019-01-18 16:01:43 +01:00
b4d59357a1 Fixed .amf i/o 2019-01-18 14:40:10 +01:00
5eb66728bb 1st installment of volumes centering fixes (WIP) 2019-01-18 12:52:09 +01:00
2eb755fe64 Fix of #1640 2019-01-14 15:37:37 +01:00
31986660a1 Model's volume transform set as default 2019-01-02 10:49:13 +01:00
c86e7284e5 Fixed import from PrusaControl files 2018-12-17 15:28:17 +01:00
bc825ac346 WIP: Fix of PrusaControl import.
Now the transformation matrices need to be restored as well.
2018-12-17 12:11:51 +01:00
587757c02e Fixed import from 3mf of rotated models 2018-12-14 09:52:15 +01:00
3889d0ae63 Improved fix of export to 3mf of objects splitted into parts 2018-11-19 15:49:59 +01:00
d0a6af2845 Fixed export to 3mf of objects splitted into parts 2018-11-19 15:34:34 +01:00
74973a9437 Fixed objects name after 3mf import 2018-11-08 10:18:19 +01:00
7c008a32ab Fixes to storing and loading configs from AMF/3MF. 2018-11-07 14:57:50 +01:00
605237d262 Refactoring 2018-11-01 14:25:10 +01:00
97fdd96b2f Added extended functionality to Geometry::Transformation class 2018-11-01 13:42:07 +01:00
108110940c Mirror component of transformations set as default 2018-11-01 08:46:44 +01:00
9baec79025 Merged branch 'dev_native' into lm_sla_supports_auto
Added igl library files
2018-10-26 15:45:52 +02:00
7418242134 Added mirror factors to .3mf import and enabled import factors 2018-10-22 13:27:53 +02:00
79aa687ce7 Added mirroring factors to .amf import/export 2018-10-22 11:45:03 +02:00
069be62c6f ModelInstance's full 3D transform set as default 2018-10-16 09:51:30 +02:00
36c9ec289b Added helper functions to extract euler angles from 3d transforms 2018-10-12 12:19:57 +02:00
1d4d84e432 New selection -> removed obsolete methods\n+\nFixed a few compile warnings 2018-10-08 15:17:36 +02:00
3cc0b4abd4 Merge remote-tracking branch 'origin/dev2' into dev_native 2018-09-25 15:33:51 +02:00
8eabbb4428 Rewrote .PRUSA file parser from wxWidgets zip to miniz.
Added tracing for mesh repair.
2018-09-25 14:30:57 +02:00
5c26e5d70d Updated AMF/3MF import to pass configuration into a DynamicPrintConfig
instead of PresetBundle.
2018-09-25 11:53:05 +02:00
fd0047f081 Merge remote-tracking branch 'origin/dev2' into dev_native 2018-09-20 16:48:40 +02:00
8abfbc2322 Disabling calls from libslic3r to slic3r gui. 2018-09-19 11:27:04 +02:00