var URLS = { 'x_design_show_rate': '//www.sculpteo.com/en/gallery/x_vote/view/', 'designs_x_get_src': '//www.sculpteo.com/en/api/design/src/', 'designs_x_proxy_design': '//www.sculpteo.com/en/api/design/3D/proxy/', 'x_remove_log': '//www.sculpteo.com/en/api/log/', 'designs_model_x_get_operation': '//www.sculpteo.com/en/api/model/get_operation/', 'x_get_materials': '//www.sculpteo.com/en/api/model/3D/material/list/', 'x_get_material': '//www.sculpteo.com/en/api/model/3D/material/get/', 'x_get_face_material': '//www.sculpteo.com/en/api/model/3D/get_face_material/', 'designs_model_x_select_design': '//www.sculpteo.com/en/api/model/select_design/', 'x_modify_operation': '//www.sculpteo.com/en/api/operations/3D/modify/', 'x_get_texture': '//www.sculpteo.com/en/api/texture/get/', 'x_new_texture': '//www.sculpteo.com/en/api/texture/new/', 'x_new_media': '//www.sculpteo.com/en/api/media/new/', 'x_get_bbox': '//www.sculpteo.com/en/api/model/3D/get_bbox/', 'extruded_texture' : '//www.sculpteo.com/en/api/operations/3D/vectorized_image_3d/', 'x_create_skin_mask': '//www.sculpteo.com/en/api/texture/skin_mask/', 'x_new_font' : '//www.sculpteo.com/en/api/font/new/', 'x_font_model' : '//www.sculpteo.com/en/api/font/model/', 'x_del_font' : '//www.sculpteo.com/en/api/font/del/', 'x_add_operation': '//www.sculpteo.com/en/api/operations/3D/add/', 'x_remove_operation': '//www.sculpteo.com/en/api/operations/3D/remove/', 'x_move_operation': '//www.sculpteo.com/en/api/operations/3D/move/', 'x_list_operation': '//www.sculpteo.com/en/api/operations/list/', 'x_clear_operations': '//www.sculpteo.com/en/api/operations/3D/clear/', 'x_save_operations': '//www.sculpteo.com/en/api/design/3D/save_operations/', 'x_refresh_model': '//www.sculpteo.com/en/api/model/3D/refresh/', 'x_message_warnings': '//www.sculpteo.com/en/api/model/3D/messages/warnings/', 'x_message_error': '//www.sculpteo.com/en/api/model/messages/errors/', 'x_design_vectorized_image' : '//www.sculpteo.com/en/api/operations/vectorized_image/', 'x_design_faceprofile_image' : '//www.sculpteo.com/en/api/operations/faceprofile_image/', 'render': '//www.sculpteo.com/en/api/model/3D/render/', 'render_secure': 'https://www.sculpteo.com/en/api/model/3D/render/', 'render_snapshot': '//www.sculpteo.com/en/api/model/3D/render_no_cache/', 'render_thumb': '//www.sculpteo.com/en/api/design/3D/render/', 'final_proof': '//www.sculpteo.com/en/api/design/final_proof/', 'new_scene_url': '//www.sculpteo.com/en/api/model/3D/scene/new/', 'notification': '//www.sculpteo.com/notification/activity/', 'job_list': '//www.sculpteo.com/en/job/job_list/', 'job_hide': '//www.sculpteo.com/en/job/hide/', 'upload_file': '//www.sculpteo.com/en/gallery/uploadfile/', 'upload_progress': '//www.sculpteo.com/en/upload_progress/', 'x_get_price_by_uuid': '//www.sculpteo.com/en/api/design/price_by_uuid/', 'x_get_price_by_uuid_3d': '//www.sculpteo.com/en/api/design/3D/price_by_uuid/', 'x_get_price': '//www.sculpteo.com/en/api/design/price/', 'x_get_price_array': '//www.sculpteo.com/en/api/design/price/array/', 'x_design_detail_operations': '//www.sculpteo.com/en/api/operations/edit/', 'x_design_detail_operations_3D': '//www.sculpteo.com/en/api/operations/3D/edit/', 'x_order_delivery_information': '//www.sculpteo.com/en/api/order/delivery_information/', 'envmap': 'https://cdn2.sculpteo.com/static/20/images/envmap_default.png', 'cubemap': 'https://cdn2.sculpteo.com/static/20/images/cubemap_default.png', 'x_set_configurable_state': '//www.sculpteo.com/en/api/operations/configurable_state/set/', 'x_unset_configurable_state': '//www.sculpteo.com/en/api/operations/configurable_state/unset/', 'x_show_configurable_preview': '//www.sculpteo.com/en/api/operations/configurable_state/show/', 'x_hide_configurable_preview': '//www.sculpteo.com/en/api/operations/configurable_state/hide/', 'x_measure_wall_thickness': '//www.sculpteo.com/en/api/model/3D/measure_wall_thickness/', 'x_delete_wall_thickness': '//www.sculpteo.com/en/api/model/3D/delete_wall_thickness/', 'x_measure_distance': '//www.sculpteo.com/en/api/model/3D/measure_distance/', 'x_measurements': '//www.sculpteo.com/en/design_measurements/measurement/', // 'x_features_selection': '//www.sculpteo.com/en/freecad_modeller/api/model/3D/freecad/selection/', 'x_design_information': '//www.sculpteo.com/en/api/design/information/', 'x_model_information': '//www.sculpteo.com/en/api/model/3D/information/', 'x_lock_field': '//www.sculpteo.com/en/api/operations/3D/lock_field/', 'local_thickness_minima': '//www.sculpteo.com/en/api/design/3D/local_thickness_minima/', 'design_get_face_index': '//www.sculpteo.com/en/api/model/3D/get_face_index/', 'design_slice_mesh': '//www.sculpteo.com/en/api/design/3D/slice_mesh/', 'backend_slice_mesh': '//www.sculpteo.com/en/manage/production/3D/slice_mesh/', 'packing_api': '//www.sculpteo.com/en/gallery/packing/', 'packing_item_api': '//www.sculpteo.com/en/gallery/packing_item/', 'packing_item_api_3D': '//www.sculpteo.com/en/gallery/3D/packing_item/', 'packing_item_api_csv': '//www.sculpteo.com/en/gallery/packing_item_csv/', 'packing_sinter_box_api': '//www.sculpteo.com/en/gallery/packing_sinter_box/', 'packing_sinter_box_job_api': '//www.sculpteo.com/en/gallery/packing_sinter_box_job/', 'annotation_api': '//www.sculpteo.com/en/design_annotations/annotation/', 'annotation_state_api': '//www.sculpteo.com/en/design_annotations/annotation/state/', 'design_x_slice_curve': '//www.sculpteo.com/en/api/design/3D/slice_curve/', 'check_existing_cart': '//www.sculpteo.com/en/manage/orders/cart_exists/', 'reorder_items': '//www.sculpteo.com/en/manage/orders/3D/reorder/', 'eventCenterUpdate': '//www.sculpteo.com/en/account/event_center/update', 'eventCenterPollingNewEvent': '//www.sculpteo.com/en/account/event_center/polling_events', 'menuAjaxContent': '//www.sculpteo.com/en/account/menu-ajax-content/', 'first_login_confirmation': '//www.sculpteo.com/en/account/first-login-confirmation/', 'preferences': '//www.sculpteo.com/en/profiles/preferences/', 'x_design_list': '//www.sculpteo.com/en/gallery/x_design_list/', 'set_currency': '//www.sculpteo.com/en/geo_location/set_currency/', 'mview_jnlp': '//www.sculpteo.com/jnlp/20/mview.jnlp', 'upload_frame': '//www.sculpteo.com/en/upload/upload_frame/', 'designs_embed_gallery': '//www.sculpteo.com/en/embed/gallery/', 'designershop_iframe': '//www.sculpteo.com/en/s/s/v/', 'user_styles_list': '//www.sculpteo.com/en/styles/list/', 'x_designs_embed_load': '//www.sculpteo.com/en/api/design/embed/load/', 'x_designs_embed_material': '//www.sculpteo.com/en/api/design/embed/load_material/', 'help': '//www.sculpteo.com/en/help/', 'favorite': '//www.sculpteo.com/en/api/design/favorite/', 'picture_upload': '//www.sculpteo.com/en/picture/upload/', 'font_char_image': '//www.sculpteo.com/en/font/char_img/', 'set_viewer': '//www.sculpteo.com/en/profiles/set_viewer/', 'designs_list_my_objects': '//www.sculpteo.com/en/my_objects2/', 'designs_list_my_objects_counter': '//www.sculpteo.com/en/my_objects2_counter/', 'designs_list_private_gallery': '//www.sculpteo.com/en/my_objects/', 'reset_private_gallery': '//www.sculpteo.com/en/reset_private_gallery/', 'design_library_list_mgmt': '//www.sculpteo.com/en/api/3D/list_management/', 'get_cad_info': '//www.sculpteo.com/en/api/3D/get_cad_info/', 'cad_info_job': '//www.sculpteo.com/en/gallery/cad_info_job/', 'x_create_text': '//www.sculpteo.com/en/workshops/create/text/', 'x_create_geometry': '//www.sculpteo.com/en/workshops/create/geometry/', 'x_create_cubify': '//www.sculpteo.com/en/workshops/create/pixelify/', 'x_create_extrusion': '//www.sculpteo.com/en/workshops/create/image_extrude/', 'designs_upload_redirect': '//www.sculpteo.com/en/upload_redirect/3D/', 'x_modify_ensemble': '//www.sculpteo.com/en/design/modify_ensemble/', 'realitycheck_num_materials': '//www.sculpteo.com/en/businesscase/num_materials/', 'mass_multipart': '//www.sculpteo.com/en/mass_multipart/', 'account_address_book': '//www.sculpteo.com/en/account/addressbook/', }; function stripped_url(url_name) { var url = URLS[url_name]; if (url.startsWith("/") && !url.startsWith("//")) { return url; } return URLS[url_name].replace(/^[^\/]*(?:\/[^\/]*){2}/, ""); } if(document.location.protocol == "https:"){ for (u in URLS) { URLS[u] = URLS[u].replace("http:", "https:"); } } var LANG = "en", LOADER_URL = "https://cdn2.sculpteo.com/static/20/css/images/loader16.gif", LOADER_URL_BIG = "https://cdn2.sculpteo.com/static/20/css/images/loader66.gif", MAX_FILE_SIZE = 52428800;