mirror of
https://github.com/Dark98/SliceBeam.git
synced 2026-07-04 08:39:04 +00:00
WIP: Port BBL auto-orient
This commit is contained in:
@@ -458,6 +458,11 @@ extern "C" {
|
||||
model->model.objects[i]->translate(x, y, z);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL Java_ru_ytkab0bp_slicebeam_slic3r_Native_model_1ensure_1on_1bed(JNIEnv* env, jclass, jlong ptr, jint i) {
|
||||
ModelRef* model = (ModelRef *) (intptr_t) ptr;
|
||||
model->model.objects[i]->ensure_on_bed(false);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL Java_ru_ytkab0bp_slicebeam_slic3r_Native_model_1scale(JNIEnv* env, jclass, jlong ptr, jint i, jdouble x, jdouble y, jdouble z) {
|
||||
ModelRef* model = (ModelRef *) (intptr_t) ptr;
|
||||
Vec3d factor(x, y, z);
|
||||
|
||||
Reference in New Issue
Block a user