Commit Graph

3059 Commits

Author SHA1 Message Date
Vojtech Bubnik
ed65cdd955 Fix compilation of Perl bindings. 2023-04-20 18:31:34 +02:00
Vojtech Bubnik
57db091612 Removed Surface and SurfaceCollection from Perl bindings. 2022-10-27 19:43:56 +02:00
Vojtech Bubnik
d041fa6c0c Refactored PerimeterGenerator to output out_fill_surfaces as ExPolygons,
not SurfaceCollection.

Reworked combineinfill.t, 07_extrusionpath.t, 08_extrusionloop.t to c++.
Removed Layer / ExtrusionPath / ExtrusionLoop / ExtrusionEntityCollection
from Perl bindings.
2022-10-27 19:08:43 +02:00
Vojtech Bubnik
d4b8d4d0f3 Further Perl unit test porting to C++ and Perl interface reduction:
Ported cooling, gap fill, thin walls and polyline unit tests.
2022-05-05 17:57:57 +02:00
Vojtech Bubnik
aa3231e2c5 Further slimming of Perl bindings. 2022-05-04 19:10:34 +02:00
Vojtech Bubnik
576c167bd5 Ported "avoid crossing perimeters" and bridging unit tests from Perl
to C++.
Further reduced Perl bindings.
Got rid of the ExPolygonCollection wrapper, replaced with ExPolygons.
2022-05-04 18:21:08 +02:00
Vojtech Bubnik
a627614b58 Perl unit tests for perimeters and multi-material were rewritten to C++.
Perl binding was slimmed down, namely Clipper is no more linked by Perl.
2022-05-04 15:06:04 +02:00
Vojtech Bubnik
33b2478b69 Ported Infill unit tests from Perl to C++. 2022-05-02 14:34:50 +02:00
tamasmeszaros
f1276332ba Fix compilation of perl xs on Windows with boost 1.78 2022-04-08 13:47:45 +02:00
Vojtech Bubnik
0f3cabb5d9 Support for forward compatibility of configurations, user and system
config bundles, project files (3MFs, AMFs). When loading these files,
the caller may decide whether to substitute some of the configuration
values the current PrusaSlicer version does not understand with
some reasonable default value, and whether to report it. If substitution
is disabled, an exception is being thrown as before this commit.
If substitution is enabled, list of substitutions is returned by the
API to be presented to the user. This allows us to introduce for example
new firmware flavor key in PrusaSlicer 2.4 while letting PrusaSlicer
2.3.2 to fall back to some default and to report it to the user.

When slicing from command line, substutions are performed by default
and reported into the console, however substitutions may be either
disabled or made silent with the new "config-compatibility" command
line option.

Substitute enums and bools only.  Allow booleans to be parsed as
    true: "1", "enabled", "on" case insensitive
    false: "0", "disabled", "off" case insensitive
This will allow us in the future for example to switch the draft_shield
boolean to an enum with the following values: "disabled" / "enabled" / "limited".

Added "enum_bitmask.hpp" - support for type safe sets of options.
See for example PresetBundle::load_configbundle(...
LoadConfigBundleAttributes flags) for an example of intended usage.

WIP: GUI for reporting the list of config substitutions needs to be
implemented by @YuSanka.
2021-06-27 16:57:05 +02:00
Vojtech Bubnik
d06aa60691 Fixing Perl bindings after update of Boost. 2021-01-15 19:47:51 +01:00
Lukáš Hejl
87879034f6 Merge remote-tracking branch 'origin/master' into lh_avoid_crossing_perimeters
# Conflicts:
#	src/libslic3r/MotionPlanner.cpp
#	src/libslic3r/libslic3r.h
2020-11-29 17:27:23 +01:00
Vojtech Bubnik
ddc9e26f19 Follow-up to 80e8b5e985
Removed the legacy PreviewData.cpp,hpp
2020-11-21 11:02:20 +01:00
Vojtech Bubnik
04c2fde671 Removed the old motion planner. 2020-11-17 09:33:30 +01:00
enricoturri1966
f727198891 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-06-29 08:48:23 +02:00
bubnikv
c10f6a622d Fixed unit tests on Windows after introduction of GMP to
boost::polygon Voronoi diagram generator by Vojtech.

Fixed Perl bindings on Windows after some "improvement" of the Windows 10
SDK headers, which fail if included from a C++ code using the
extern "C"
clause. Namely, the Windows 10 SDK include for sockets introduces C++ macros
if a "compiled with C++" symbol is provided even if included through
exetrn "C".
2020-06-27 08:44:13 +02:00
enricoturri1966
277b340481 Attempt to fix build on OsX 2020-05-07 12:03:17 +02:00
enricoturri1966
27b9f85607 Fixed build when tech ENABLE_GCODE_VIEWER is disabled + fixed perl code 2020-05-07 11:24:36 +02:00
bubnikv
e04e2b3636 Slight improvements of unit tests, fix of perl bindings. 2019-10-18 12:05:37 +02:00
bubnikv
c9a847a6a6 Support for Visual Studio 2019 Community 2019-06-06 11:40:35 +02:00
bubnikv
c980e96dbb Fix of perl bindings 2019-03-13 17:38:48 +01:00
bubnikv
cea6ca83db removed the --gui parameter from the slic3r wrapper.
Fixed the perl bindings
2019-03-13 17:06:45 +01:00
bubnikv
df8d475363 Fixed perl bindings 2019-03-13 16:53:08 +01:00
bubnikv
18025cc669 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
Vojtech Kral
e8d63f3eb1 Upgrade Boost to 1.66 on Windows 2019-01-16 15:14:18 +01:00
bubnikv
a378bb7bed Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
2018-11-26 14:41:58 +01:00
bubnikv
bde4153d44 Removed legacy GUI Perl bindings,
replaced Print & SLAPrint pointers with BackgroundProcessing pointer
at the GLCanvas3D level, so that the Print & SLAPrint access will be
synchronized with the current printer technology.
2018-11-22 15:29:59 +01:00
tamasmeszaros
1680bcb10d removing remnant junk for AppController 2018-11-12 17:41:05 +01:00
Lukas Matena
f5e8eaedb3 Added a special (temporary) icon for SLA supports gizmo, removed igl files from xs/src 2018-11-02 10:22:48 +01:00
Lukas Matena
7681d00ee5 Merged branch 'dev_native' into lm_sla_supports_auto
Added igl library files
2018-10-26 15:45:52 +02:00
Lukas Matena
c1e6eda554 Fixed a crash when deleting an object with sla supports gizmo active 2018-10-10 13:21:14 +02:00
Lukas Matena
ced5e8540f SLA support points are deleted when an object is cut or split 2018-10-10 11:14:09 +02:00
Lukas Matena
bf5d3ed636 SLA support points are now saved in 3MF 2018-10-05 10:13:21 +02:00
Lukas Matena
6b007986ee SLA support points are now saved in AMF 2018-10-03 15:13:54 +02:00
Lukas Matena
e89465cc3f Merge branch 'dev2' into lm_sla_supports_ui 2018-10-03 12:46:11 +02:00
Lukas Matena
ce5c03c894 Refactored previous commit 2018-09-26 14:37:25 +02:00
Lukas Matena
10393ba834 Flatten and SlaSupports gizmos - grabbers rendered correctly when object is dragged 2018-09-26 13:54:09 +02:00
Enrico Turri
025fdc1359 Fixed #1244 - c++ part 2018-09-26 11:24:19 +02:00
Lukas Matena
fc82aaaa2e Merge remote-tracking branch 'origin/dev2' into lm_sla_supports_ui 2018-09-26 09:18:22 +02:00
bubnikv
6260e43f61 Merge remote-tracking branch 'origin/dev2' into dev_native 2018-09-25 15:33:51 +02:00
Enrico Turri
51cf964b51 Reduced count of opengl draw calls for full 3D transform 2018-09-25 12:15:51 +02:00
Enrico Turri
a651f5f5d7 ModelInstance full 3D transform code moved into a single technology 2018-09-25 10:42:11 +02:00
Enrico Turri
0e1843a871 1st installment of ModelInstance 3D scale components 2018-09-24 15:54:09 +02:00
Enrico Turri
e3d44b07fe Fixed arrange for objects with 3D rotations 2018-09-24 15:21:18 +02:00
Lukas Matena
a4acca24ff Added libigl library files (header-only library) 2018-09-24 14:16:53 +02:00
Lukas Matena
9b5c7aadad Sla support points are saved in ModelObject 2018-09-24 14:04:16 +02:00
Enrico Turri
270341300f Code cleanup 2018-09-24 10:28:52 +02:00
Enrico Turri
1026a9c817 Tweaks to flatten gizmo 2018-09-24 10:19:40 +02:00
Lukas Matena
b96831529f SLA supports points batch deletion does not deselect object 2018-09-21 16:05:02 +02:00
Lukas Matena
b539a9148a Merge remote-tracking branch 'origin/dev2' into lm_sla_supports_ui 2018-09-21 15:46:46 +02:00