Skip to content

Instantly share code, notes, and snippets.

{"model":{"version":3,"nodes":[{"name":"RootNode","position":[0,0,0],"rotation":[0,0,0],"scale":[1609.34,1609.34,1609.34],"scaleCompensation":false},{"name":"Sphere001","position":[-1.1044e-05,4.31163e-21,-2.56127e-05],"rotation":[-90,-0,0],"scale":[6.21371e-07,6.21371e-07,6.21371e-07],"scaleCompensation":false}],"parents":[-1,0],"skins":[],"morphs":[],"vertices":[{"position":{"type":"float32","components":3,"data":[0,0,32.5457,-2.77539e-07,6.34935,31.9203,-1.2387,6.22735,31.9203,0,0,32.5457,-2.42979,5.86603,31.9203,0,0,32.5457,-3.52751,5.27929,31.9203,0,0,32.5457,-4.48967,4.48967,31.9203,0,0,32.5457,-5.27929,3.52751,31.9203,0,0,32.5457,-5.86603,2.42979,31.9203,0,0,32.5457,-6.22735,1.23869,31.9203,0,0,32.5457,-6.34935,-2.06888e-06,31.9203,0,0,32.5457,-6.22735,-1.2387,31.9203,0,0,32.5457,-5.86603,-2.42979,31.9203,0,0,32.5457,-5.27929,-3.52751,31.9203,0,0,32.5457,-4.48966,-4.48967,31.9203,0,0,32.5457,-3.5275,-5.27929,31.9203,0,0,32.5457,-2.42979,-5.86603,31.9203,0,0,32.5457,-1.23869,-6.22735,31.9203,0,0,32.5457
::
:: Bactch Archivator
:: MastaMan
:: http://3dground.net
::
ECHO OFF
CLS
ECHO This model ready to place?
function myFunction() {
// Get all files in Drive
var files = DriveApp.getFiles();
// Delete every file
while (files.hasNext()) {
var file = files.next();
Logger.log('Deleting file "%s"',
file.getName());
// Delete File
<?php
/*
This code part of 3DGROUND Model Packer software!
With this code example you can extract index.xml file from uploaded arhive.
Then parse index.xml with SimpleXML in PHP.
On your server must be activated this libs:
- ZIP library!
- Simple XML librarty!
*/
REM This code part of 3DGROUND Model Packer software!
REM With this batch file you can find 3d models by search words and open existing folders.
REM Just run this batch file and enter words separated by spaces then press Enter.
@echo off
cls
:init
cls
set /p search="Enter search keywords (separate by space): "
macroScript openQuet
category:"[3DGROUND]"
toolTip:"Open"
buttontext:"Open"
Icon:#("UVWUnwrapView", 17)
(
fn openQuetFile = (
SetQuietMode false
checkForSave()
SetQuietMode true
/*
This code part of 3DGROUND Model Packer software!
With this code example, you can package multiple models from a selected folder.
API available from Model Packer 1.4.4
*/
-- Turn On API usage
::MODEL_PACKER_USE_API = true
-- Run script Model Packer in hidden mode
script = (getDir #temp) + @"\ModelPacker\ModelPacker.mse"
try(fileIn script) catch()
-- Get API
api = ::MODEL_PACKER_API()
-- Choose preset